[comp.bugs.4bsd] csh $x:r bug

mg@notecnirp.Princeton.EDU (Michael Golan) (02/01/89)

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