home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.muug.mb.ca
/
2014.06.ftp.muug.mb.ca.tar
/
ftp.muug.mb.ca
/
pub
/
src
/
perl
/
eg
/
nih
< prev
next >
Wrap
Text File
|
1992-04-11
|
369b
|
11 lines
eval "exec /usr/bin/perl -Spi.bak $0 $*"
if $running_under_some_shell;
# $Header: nih,v 4.0 91/03/20 01:11:29 lwall Locked $
# This script makes #! scripts directly executable on machines that don't
# support #!. It edits in place any scripts mentioned on the command line.
s|^#!(.*)|#!$1\neval "exec $1 -S \$0 \$*"\n\tif \$running_under_some_shell;|
if $. == 1;