csh bug: @ won't allow digits in the variable name to be set.

utzoo!decvax!harpo!floyd!cmcl2!philabs!sdcsvax!phonlab!sdcsla!draper utzoo!decvax!harpo!floyd!cmcl2!philabs!sdcsvax!phonlab!sdcsla!draper
Sun Jan 16 13:24:24 AEST 1983


I have discovered, after a lot of puzzlement, that for example
	@ t1 = 3 * 4
gets a syntax error from csh because no digits are allowed in varible names in
this command.  Thus
	set t1 = 9			is OK, but
	@   t1 = 9			is not.
Variable names with digits on the RHS are OK e.g.
	@   tt = $t1 + $t2		is OK.

Apparently a bug in the line parsing routines.

				Steve Draper
				UCSD, San Diego
				ucbvax!sdcsvax!sdcsla!draper   draper at nprdc



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