🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1808

C-Shell Question

#1808
From: Rick Eames
Date: Wed, 21 Nov 1990 17:30
24 lines
804 bytes
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@apple.com


###########################
Athos
"Not Apple's Opinions....blah...blah....blah"
Technical Details
Message-ID: <11329@goofy.Apple.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!usc!apple!apple.com!athos

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!sdd.hp.com!usc!apple!apple.com!athos
From: athos@apple.com (Rick Eames)
Newsgroups: comp.unix.shell
Subject: C-Shell Question
Message-ID: <11329@goofy.Apple.COM>
Date: 21 Nov 90 17:30:41 GMT
Sender: usenet@Apple.COM
Distribution: na
Lines: 24