home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v22 / 080 / text0000.txt < prev   
Encoding:
Text File  |  1991-03-07  |  761 b   |  18 lines

  1. Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  2.  
  3. In article <17155@cs.utexas.edu> jack@cwi.nl (Jack Jansen) writes:
  4. >I don't see any problem in the shell reading the first line and
  5. >checking it for #!/bin/sh.
  6.  
  7. Shells that have done this (e.g. some csh implementations on UNIX System V)
  8. have definitely caused problems.  For example, Most of my shell scripts
  9. start with #!/usr/5bin/sh to ensure System V semantics on BSD systems;
  10. however, on a genuine UNIX System V system I was expecting the script to
  11. be interpreted by /bin/sh (even if executed by csh).  We discovered that
  12. some overly-"helpful" implementations of csh on System V, however, went
  13. ahead and tried to find /usr/5bin/sh, which of course made the execution
  14. fail.
  15.  
  16. Volume-Number: Volume 22, Number 80
  17.  
  18.