csh question

Jonathan I. Kamens jik at athena.mit.edu
Mon Nov 13 20:59:00 AEST 1989


In article <1989Nov13.014412.24735 at Neon.Stanford.EDU> kamens at Neon.Stanford.EDU
(Samuel N Kamens) writes:
>I am trying to write a csh shell that looks like this (with names changed to
>protect the innocent)
>
>...
>
>When I run it, I get an error (error: end of file unexpected).

  You need "#!/bin/csh -f" at the top.  Since you don't have that, it
is being interpreted as a bourne shell script, hence the error you
received.

>Sam Kamens		     |  "How do you know she is a witch?"
>kamens at neon.stanford.edu     |  "She looks like one!!"

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8495			      Home: 617-782-0710

P.S. For those of you who are wondering, yes.



More information about the Comp.unix.questions mailing list