home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!psuvax1!news.cc.swarthmore.edu!hirai
- From: hirai@cc.swarthmore.edu (Eiji Hirai)
- Newsgroups: comp.unix.ultrix
- Subject: Re: First Line Comments in Scripts
- Message-ID: <B32PB0J8@cc.swarthmore.edu>
- Date: 4 Sep 92 20:46:41 GMT
- Article-I.D.: cc.B32PB0J8
- References: <1992Sep4.183234.29076@iscnvx.lmsc.lockheed.com>
- Sender: news@cc.swarthmore.edu (USENET News System)
- Organization: Information Services, Swarthmore College, Swarthmore, PA, USA
- Lines: 15
- Nntp-Posting-Host: gingko
-
- lange@lmsc.lockheed.com writes:
- > It seems as though ULTRIX 4.2 insists that all shell scripts
- > run in the C shell, ignoring the $SHELL variable.
-
- If the comment begins with a #, then Ultrix tries it with /bin/csh. If the
- comment begins with :, then Ultrix tries it with /bin/sh. If it encounters
- a #!/blah/blah, then it'll try /blah/blah.
-
- It seems pretty simple and reliable to me.
-
- --
- Eiji Hirai <hirai@cc.swarthmore.edu> : : : : : :: ::: :::: :::::
- Unix Hacker for Swarthmore College : : : : : :: ::: :::: :::::
- Information Services, Swarthmore, PA, USA. Copyright 1992 by Eiji Hirai.
- I don't speak for Swarthmore College. All Rights Reserved.
-