Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 18:35:58 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, current@FreeBSD.ORG
Subject:   Re: Fdescfs updates--coming to a devfs near you!
Message-ID:  <20000914183558.K77593@strontium.scientia.demon.co.uk>
In-Reply-To: <200009141536.LAA12284@khavrinen.lcs.mit.edu>
References:  <20000914123945.A32524@ringwraith.office1.bg> <56076.968924938@critter> <200009141536.LAA12284@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman wrote:

> [/dev/stdin] also helps when bogus programs refuse to read from the
> standard input.

Or if you want to read more than one file, one of which is standard input.
e.g.

gzip -dc oldlogs.*.gz | cat /dev/stdin todays-log | log-analyzer ...

Of course that will work with "-" instead of "/dev/stdin" but I
personally think it's the "-" hack to mean stdin/stdout which should be
abolished, not /dev/std{in,out,err}.  No doubt others will disagree.

-- 
Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000914183558.K77593>