[net.bugs.4bsd] Re

laman@ncr-sd.UUCP (Mike Laman) (11/06/85)

In article <6300017@uiucdcsb> liberte@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@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

radzy@calma.UUCP (Tim Radzykewycz) (11/08/85)

In article <6300017@uiucdcsb> liberte@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

but:
% set bugs2fix = x
% echo $bugs2fix
x
% echo it works this way

(flames to /dev/null)  There is definitely a bug, but this
may allow some people to use a workaround.
-- 
Tim (radzy) Radzykewycz, The Incredible Radical Cabbage
	calma!radzy@ucbvax.ARPA
	{ucbvax,sun,csd-gould}!calma!radzy