4.2BSD _filbuf() question

jr at taurus.UUCP jr at taurus.UUCP
Wed Jan 18 08:32:28 AEST 1984


the documentation for the cat command reads:

	"if the argument `-' is encountered, cat reads from the
	 standard input file"

(ok, thats not from the 4.2 manual - i hope it's the same!)

this implies to me that
	cat - a - b - c > d
should read the standard input three times allowing me to enter titles.

i'd say it's cat's fault for treating `-' as a special case rather
than opening and closing the tty like it would any other file.

-- 
									++jim
					 <england>!ukc!hirst1!taurus!jr ++jim



More information about the Comp.unix.wizards mailing list