Bug in filename expansion

Steve Zimmerman z at cca.UUCP
Mon Mar 5 01:50:39 AEST 1984


In C shell scripts, it is supposed to be possible to quote the comment
character '#' by preceding it with a backslash, and in fact, tha command

	ls \#log

in such a script will list the file #log if such a file exists.
However, the C shell does not correctly handle certain special
characters after a quoted '#', so that the command

	ls \#*

and other variations on it will always produce the error message "No
match", no matter how many files there are that begin with '#'.

	Steve Zimmerman



More information about the Comp.bugs.4bsd.ucb-fixes mailing list