Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!njin!princeton!notecnirp!mg From: mg@notecnirp.Princeton.EDU (Michael Golan) Newsgroups: comp.bugs.4bsd Subject: csh $x:r bug Message-ID: <14544@princeton.Princeton.EDU> Date: 31 Jan 89 18:25:32 GMT Sender: news@princeton.Princeton.EDU Reply-To: mg@princeton.Princeton.EDU (Michael Golan) Distribution: usa Organization: Dept. of Computer Science, Princeton University Lines: 24 Hi there ! This is my first posting to this group so I am not sure I am doing it right. /bin/csh bug: the following code (in an interactive cshell) tells it all: %set x=a.b %setenv Y c.d %echo ${x:r} result -- "a" as it should be %echo ${Y:r} resul -- Varialbe syntax. ??!! % -- now the funny part: when you hit return again, you get: c.d: command not found i.e. csh put the $Y into the internal input buffer ! Michael Golan mg@princeton.edu