eval "exec /usr/bin/perl -Spi.bak $0 $*"
	if $running_under_some_shell;

# $FreeBSD: stable/2.1/gnu/usr.bin/perl/eg/nih 50952 1999-09-05 11:54:50Z peter $

# 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;
