home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5451 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.4 KB  |  45 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!pbinfo!michael
  3. From: michael@uni-paderborn.de (Michael Schmidt)
  4. Subject: Re: 386BSD #!/bin/csh
  5. In-Reply-To: terry@thisbe.Eng.Sandy.Novell.COM's message of Wed, 9 Sep 1992 17:13:27 GMT
  6. Message-ID: <MICHAEL.92Sep10112416@athene.uni-paderborn.de>
  7. Sender: news@uni-paderborn.de (News Uni-Paderborn)
  8. Nntp-Posting-Host: athene-bb
  9. Organization: Uni Paderborn, Germany
  10. References: <TRI.92Sep9011202@supergirl.hut.fi> <1992Sep9.171327.20998@gateway.novell.com>
  11. Distribution: comp
  12. Date: Thu, 10 Sep 1992 10:24:16 GMT
  13. Lines: 30
  14.  
  15. >>>>> About Re: 386BSD #!/bin/csh, Terry Lambert said:
  16.  
  17. Terry> In article <TRI.92Sep9011202@supergirl.hut.fi>
  18. Terry> Timo.Rinne@hut.fi writes:
  19.  
  20. >386bsd 0.1 doesn't seem to respect #! in beginning
  21. >of the shell scripts, Anyone knows why? Fixes?
  22.  
  23. Terry> Instead of:
  24.  
  25. Terry>     #!/bin/sh
  26. Terry>     #
  27. Terry>     ...
  28.  
  29. Terry> use:
  30.  
  31. Terry>     :
  32. Terry>     #
  33. Terry>     ...
  34.  
  35. Terry> This will result in invocation of /bin/sh.  Sorry; no
  36. Terry> workaround known to make it execute csh instead.
  37.  
  38. Ooops. The patch to kern_execve in
  39. agate.berkeley.edu:pub/386BSD/386bsd-0.1/unofficial/williams/kern_shell.0_1
  40. works for me (somehow (;-).
  41. --
  42.       Michael Schmidt, FB 17, Uni-GH Paderborn, Warburgerstr. 100,
  43.                      D-4790 Paderborn, West Germany
  44. Mail:   michael@pbinfo.UUCP         or          michael@uni-paderborn.de
  45.