home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!brunix!brunix!pew
- From: pew@cs.brown.edu (Peter E. Wagner)
- Subject: shell scripts - then: then/endif not found error > ANSWER
- Message-ID: <1992Jul22.151154.3604@cs.brown.edu>
- Sender: news@cs.brown.edu
- Organization: Brown University Department of Computer Science
- Date: Wed, 22 Jul 1992 15:11:54 GMT
- Lines: 30
-
- Thank you all for your help with my shell script problem. The problem
- turned out to be in my .cshrc, as so many of you suspected.
- Specifying
-
- #!/bin/csh -f
-
- demonstrated that the problem was in the .cshrc. A little examination
- yielded the problem in my .cshrc file: The last line of my .cshrc was
- endifEOF. A simple newline at the end of the last endif statement
- cleared that up.
-
- Finally, many of you felt strongly that the sh scripting language is
- much preferrable to csh. I think I'll take your advice and switch.
-
- Thanks again.
-
- >p
-
- ----------------------------------------------------------------
- Peter E. Wagner (212)460-5672 pwagner@ejv.com
- 52 E 13th St. Apt. 5E pew@BROWNCS.BITNET
- New York, NY 10003 uunet!brunix!pew
- ----------------------------------------------------------------
-
-
-
- ----------------------------------------------------------------
- Peter E. Wagner (212)460-5672 pwagner@ejv.com
- 52 E 13th St. Apt. 5E pew@BROWNCS.BITNET
- New York, NY 10003 uunet!brunix!pew
-