cat < abc abd

Alan S. Driscoll alan at allegra.UUCP
Thu Apr 19 01:03:17 AEST 1984


As several people have pointed out to me, the shell does do the right
thing, given

	cat < abc abd

Cat ignores its standard input (abc), and copies its argument (abd) to
its standard output.  Therefore, the effect is the same as

	cat < abd

but not for the reason I supposed.  Appearances can be quite deceiving
(especially when you forget to use the little grey cells).

Anyone know a good orthopodiatrist?

-- 
	Alan S. Driscoll
	AT&T Bell Laboratories



More information about the Comp.unix mailing list