csh foreach variable can't have dig

liberte at uiucdcsb.CS.UIUC.EDU liberte at uiucdcsb.CS.UIUC.EDU
Tue Nov 5 06:59:00 AEST 1985


There is at least one other related bug.  
Csh does not allow numbers in variable names in curly brakets, e.g., 

% set bugs2fix = x
% echo ${bugs2fix}
Variable syntax.
% !!
echo 2${bugsfix}
bugsfix: Undefined variable.
% set bugsfix = " bugs to fix"
% !echo
echo 2${bugsfix}
2 bugs to fix


Dan LaLiberte
liberte at uiucdcs.Uiuc.ARPA
ihnp4!uiucdcs!liberte



More information about the Comp.bugs.4bsd.ucb-fixes mailing list