``file descriptor'' pseudo-device driver for 4.2BSD

Steven Bellovin smb at ulysses.UUCP
Sun Jun 23 00:44:58 AEST 1985


The 8th Edition convention is to use /dev/fd/N, not /dev/fdN.  Some versions
of the Korn shell and the Eighth edition shell know about this naming convention;
they support things like

	diff (rsh a cat /etc/passwd) (rsh b cat /etc/passwd)
	
/dev/fd/0, /dev/fd/1, and /dev/fd/2 are also known as /dev/stdin, /dev/stdout, and
/dev/stderr.



More information about the Comp.sources.unix mailing list