Re (And third bug): csh foreach variable can't have dig
Mike Laman
laman at ncr-sd.UUCP
Thu Nov 7 04:00:10 AEST 1985
In article <6300017 at uiucdcsb> liberte at uiucdcsb.CS.UIUC.EDU writes:
>
>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
And:
@ z1 = 2 + 3
will get an error message too. Remove the '1' and it works fine.
Mike Laman, NCR Rancho Bernardo
UUCP: {ucbvax,philabs,sdcsla}!sdcsvax!ncr-sd!laman
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list