home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / ultrix / 6703 next >
Encoding:
Internet Message Format  |  1992-09-07  |  1.2 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!psuvax1!news.cc.swarthmore.edu!hirai
  2. From: hirai@cc.swarthmore.edu (Eiji Hirai)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: First Line Comments in Scripts
  5. Message-ID: <B32PB0J8@cc.swarthmore.edu>
  6. Date: 4 Sep 92 20:46:41 GMT
  7. Article-I.D.: cc.B32PB0J8
  8. References: <1992Sep4.183234.29076@iscnvx.lmsc.lockheed.com>
  9. Sender: news@cc.swarthmore.edu (USENET News System)
  10. Organization: Information Services, Swarthmore College, Swarthmore, PA, USA
  11. Lines: 15
  12. Nntp-Posting-Host: gingko
  13.  
  14. lange@lmsc.lockheed.com writes:
  15. > It seems as though ULTRIX 4.2 insists that all shell scripts
  16. > run in the C shell, ignoring the $SHELL variable.
  17.  
  18. If the comment begins with a #, then Ultrix tries it with /bin/csh.  If the
  19. comment begins with :, then Ultrix tries it with /bin/sh.  If it encounters
  20. a #!/blah/blah, then it'll try /blah/blah.
  21.  
  22. It seems pretty simple and reliable to me.
  23.  
  24. --
  25. Eiji Hirai <hirai@cc.swarthmore.edu>    :     :    :   :  : :: ::: :::: :::::
  26. Unix Hacker for Swarthmore College      :     :    :   :  : :: ::: :::: :::::
  27. Information Services, Swarthmore, PA, USA.      Copyright 1992 by Eiji Hirai.
  28. I don't speak for Swarthmore College.                    All Rights Reserved.
  29.