An odd difference between "cat file" and "cat<file"

J Bernardis jjb at pyuxnn.UUCP
Tue Apr 17 06:05:04 AEST 1984


cat doesn't do the file name expansion!!  The shell has that responsibility.
Thus, cat doesn't know if you typed abcd or ab* on the command line.
I frankly don't know why there is a difference between cat ab* and cat <ab*.
It seems to me that file name expansion should be done before anything else.

	Jeff Bernardis, AT&T Technologies @ Piscataway NJ



More information about the Comp.unix mailing list