csh bug?
alt at aids-unix
alt at aids-unix
Thu Sep 1 07:29:00 AEST 1983
From: Howard Alt <alt at aids-unix>
Has anyone seen the following problem:
set i = 2
set i1 = 2
@ i = $i + $i
@ i1 = $i1 + $i1
The last line reports '@: Syntax error'. In the manual, it says that
variables are allowed to be up to 20 numbers or letters as long
as it starts with a letter. Incidently, the line
@ i = $i1 + $i1
works fine. It seems that any variable with a number in it, gives
this same problem. Any csh hackers out there seen this problem?
Thanks,
Howard.
More information about the Comp.unix.wizards
mailing list