Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 GARFIELD 20/11/84; site garfield.UUCP Path: utzoo!utcsri!garfield!andrew From: andrew@garfield.UUCP (Andrew Draskoy) Newsgroups: net.unix,net.bugs,net.bugs.4bsd Subject: Re: Useful csh alias and free csh bug Message-ID: <2610@garfield.UUCP> Date: Sat, 23-Mar-85 18:30:12 EST Article-I.D.: garfield.2610 Posted: Sat Mar 23 18:30:12 1985 Date-Received: Sat, 23-Mar-85 19:16:17 EST References: <2592@garfield.UUCP> Reply-To: andrew@garfield.UUCP (Andrew Draskoy) Distribution: net Organization: Memorial U. of Nfld. C.S. Dept., St. John's Lines: 23 Keywords: csh, correction, bug Guess what! I made an error in my last posting (it always happens - no doubt this one will have a problem as well.) It seems that the !-1:q should in fact be !-2:q. That's what I get for making last-minute improvements to things that used to work (and for using csh). Also, I have discovered that if you stop your editor session, the csh forgets about sourcing the rest of the file. It looks like this may work better by simply making the alias be: alias ec 'all_the_commands_in_the_script' which is what I had before, and it worked (using !-1:q). If AT&T would release ksh I wouldn't have to worry about this (hint hint). As it is, I will probably end up writing my own shell. Andrew -- Andrew Draskoy UUCP: {akgua,allegra,cbosgd,ihnp4,mcvax,utcsri}!garfield!andrew CDNNET: andrew@garfield.mun.cdn -- The opinions expressed above may not represent those of the author after he has had some sleep.