home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1997 / CT_SW_97.ISO / pc / software / entwickl / win95 / pw32i306.exe / eg / nih < prev    next >
Text File  |  1994-10-18  |  387b  |  11 lines

  1. eval "exec /usr/bin/perl -Spi.bak $0 $*"
  2.     if $running_under_some_shell;
  3.  
  4. # $RCSfile: nih,v $$Revision: 4.1 $$Date: 92/08/07 17:20:27 $
  5.  
  6. # This script makes #! scripts directly executable on machines that don't
  7. # support #!.  It edits in place any scripts mentioned on the command line.
  8.  
  9. s|^#!(.*)|#!$1\neval "exec $1 -S \$0 \$*"\n\tif \$running_under_some_shell;|
  10.     if $. == 1;
  11.