home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8708 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.6 KB  |  37 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
  3. From: terry@cs.weber.edu (A Wizard of Earth C)
  4. Subject: Re: [386BSD] Unable to exec #!/bin/sh scripts
  5. Message-ID: <1992Nov11.023420.21323@fcom.cc.utah.edu>
  6. Sender: news@fcom.cc.utah.edu
  7. Organization: University of Utah Computer Center
  8. References:  <INKARI.92Nov10021140@lk-hp-12.hut.fi>
  9. Distribution: comp
  10. Date: Wed, 11 Nov 92 02:34:20 GMT
  11. Lines: 24
  12.  
  13. In article <INKARI.92Nov10021140@lk-hp-12.hut.fi>, inkari@snakemail.hut.fi (Juha Inkari) writes:
  14. |> 
  15. |> Shell scripts are not executed right on my 386BSD systems.  Exec()
  16. |> results in cannot execute error and if I try to execute a script from
  17. |> C-Shell, the shell tryes to interpret the commands resulting in syntax
  18. |> errors etc. Whats the matter and how to fix it ?
  19.  
  20. 1)    Install the patch in the patchkit that fixes this, and rebuild the
  21.     kernel (it modifies kern_exec.c).
  22. 2)    Use ":" instead of "#!/bin/sh" as the first line.  This works in the
  23.     default exec() call.
  24.  
  25.  
  26.                     Terry Lambert
  27.                     terry@icarus.weber.edu
  28.                     terry_lambert@novell.com
  29. ---
  30. Any opinions in this posting are my own and not those of my present
  31. or previous employers.
  32. -- 
  33. -------------------------------------------------------------------------------
  34.                                         "I have an 8 user poetic license" - me
  35.  Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
  36. -------------------------------------------------------------------------------
  37.