This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
icmp tweak for IO::Socket
[perl5.git] / eg / nih
CommitLineData
5f05dabc 1eval 'exec /usr/bin/perl -Spi.bak $0 ${1+"$@"}'
378cc40b
LW
2 if $running_under_some_shell;
3
79072805 4# $RCSfile: nih,v $$Revision: 4.1 $$Date: 92/08/07 17:20:27 $
378cc40b
LW
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
5f05dabc 9s[^#!(.*)]
10 [#!$1\neval 'exec $1 -S \$0 \${1+"\$@"}'\n\tif \$running_under_some_shell;]
378cc40b 11 if $. == 1;