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
- Message-ID: <1992Jul21.220416.21207@cs.brown.edu>
- Followup-To: pwagner@ejv.com
- Sender: news@cs.brown.edu
- Organization: Brown University Department of Computer Science
- Date: Tue, 21 Jul 1992 22:04:16 GMT
- Lines: 31
-
- If I run any shell script (and I mean *any*, even simple one liners)
- that runs csh (#!/bin/csh), I get the error:
-
- then: then/endif not found
-
- I am forced to use #!/bin/sh and its associated syntax due to this
- problem.
-
- None of the gurus here have any idea as to what is causing this. I
- normally run tcsh, but this happens no matter what shell I run.
- Has anyone encountered this before? I appreciate any input. Please
- reply to pwagner@ejv.com, as I am not able to review this newsgroup
- often. I will post the answer. Thanks.
-
- >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 pew@cs.brown.edu
- 52 E 13th St. Apt. 5E pew@BROWNCS.BITNET
- New York, NY 10003 uunet!brunix!pew
-