HANKS!
Don't despair, ironically Perl itself can solve this problem for you, using
something like
find /some/directory -type f -print0 | \
xargs -0 perl -pi -e 's,^#! ?/usr(/local)?/bin/perl,#!/usr/bin/env perl'
One problem I always had with "env" or equivalents... what happens if someone manages to polute $PATH with a perl that is not infact perl but something else, I remember being taught "Always specify full paths to binaries, especially in cron".
Cheers,
Mark
_______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"