question about csh quoting
mark at elsie.UUCP
mark at elsie.UUCP
Wed May 9 22:00:54 AEST 1984
<>
The problem with:
%echo "Don't do that!"
": Event not found.
%
is not the "'", but the "!", which evokes the history mechanism of csh.
%echo "Don't do that"
and
%echo "Don't do that\!"
work just fine. Having to, occasionaly, backslash-protect the "!" is a small
price to pay for having history. Evoking the mechanism inside quotes is
probably a bug in csh, but easily overcome. Question is: is it worth some poor
hacker's time to fix it?
--elsie!mark
--
Mark J. Miller
NIH/NCI/DCE/LEC
UUCP: decvax!harpo!seismo!rlgvax!cvl!elsie!mark
Phone: (301) 496-5688
More information about the Comp.unix
mailing list