C-Shell Question

Rick Eames athos at apple.com
Thu Nov 22 04:30:41 AEST 1990


I am having a problem with a shell script that really does nothing, but 
won't work anyway.

set x=1
set y=10

while ($x <=$y)
     echo This does nothing.
     @ x++
end


when I run this script, it tells me that it didn't expect an end of file, 
and get's the error one line greater than the actual number of lines in 
the file.

Any hints?

please respond to athos at apple.com


###########################
Athos
"Not Apple's Opinions....blah...blah....blah"



More information about the Comp.unix.shell mailing list