Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.wizards Subject: Re: Interesting bug in csh Keywords: csh bug Message-ID: <2154@solo9.cs.vu.nl> Date: 14 Mar 89 21:53:16 GMT References: <3737@mipos3.intel.com> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 21 pete@escher.intel.com (Peter Johnson ~) writes: \% echo $SHELL:t \/bin/csh:t Correct: according to the manual `:' modifiers don't work on environment variables. \% echo ${SHELL:t} \Variable syntax. Correct too: the string "SHELL:t" doesn't have the form of an environment variable, namely "[_a-zA-Z][_a-zA-Z0-9]*". \% ls \/bin/cshls: Command not found How's that famous record by Johnny Ray again? "Crying", wasn't it? Anyway, you get the idea. -- Those against Rushdie haven't |Maarten Litmaath @ VU Amsterdam: learned anything from the Dark Ages. |maart@cs.vu.nl, mcvax!botter!maart