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

  1. Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  2.  
  3. In article <17504@cs.utexas.edu> karish@mindcraft.com (Chuck Karish) writes:
  4. >On some older SysV-based systems I've used, scripts that start with the '#'
  5. >character are interpreted as csh scripts no matter what follows the '#'.
  6.  
  7. That was a bug in porting a pre-#! era csh feature.  On UNIX System V,
  8. more often than not Bourne shell scripts begin with '#'.  Therefore it
  9. was unwise to leave that vestigial feature in csh when porting it to
  10. such an environment.
  11.  
  12. The basic answer is that there is no truly portable solution, other
  13. than writing Bourne shell scripts starting with non-# that invoke
  14. whatever other command is actually wanted, using some sort of path
  15. search to find it.
  16.  
  17. Of course Plan 9's user-mounted appendable directories makes this easier..
  18.  
  19. Volume-Number: Volume 22, Number 95
  20.  
  21.