Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site bbncca.ARPA Path: utzoo!watmath!clyde!akgua!mcnc!decvax!bbncca!keesan From: keesan@bbncca.ARPA (Morris Keesan) Newsgroups: net.unix Subject: Re: question about csh quoting Message-ID: <701@bbncca.ARPA> Date: Tue, 8-May-84 10:38:27 EDT Article-I.D.: bbncca.701 Posted: Tue May 8 10:38:27 1984 Date-Received: Wed, 9-May-84 03:11:00 EDT References: <433@noscvax.UUCP> Organization: Bolt, Beranek and Newman, Cambridge, Ma. Lines: 21 ------------------------------ >>>From: sloane@noscvax.UUCP >>> . >>> . >>>When I tried that (4.2bsd with csh) it did the following: >>> >>> %echo "Don't do that!" >>> ": Event not found. >>> % >>> >>>Is this something different in the c-shell, or is this an error in >>>the c-shell? This is something different in csh. An exclamation point (!) introduces a history event. In this case, you were referring to history event "", which was not found. One type of quotes does indeed protect the other kind, even in csh, but "" doesn't protect !. -- Morris M. Keesan {decvax,linus,wjh12,ima}!bbncca!keesan keesan @ BBN-UNIX.ARPA