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