csh $x:r bug
Michael Golan
mg at notecnirp.Princeton.EDU
Wed Feb 1 04:25:32 AEST 1989
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 at princeton.edu
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list