Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!jarthur!uunet!motcid!yeates From: yeates@motcid.UUCP (Tony J Yeates) Newsgroups: comp.unix.shell Subject: Re: C-Shell Question Message-ID: <5301@iron6.UUCP> Date: 29 Nov 90 20:59:45 GMT References: <11329@goofy.Apple.COM> Distribution: na Organization: Motorola Inc., Cellular Infrastructure Div., Arlington Heights, IL Lines: 33 athos@apple.com (Rick Eames) writes: >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. Don't know why it fails, but it does in csh & tcsh .... usually! If you do: csh