On Feb 3, 2005, at 2:07 PM, Christian Weisgerber wrote:
Well-behaved 3rd party scripts ought to start Perl via:
#! /usr/bin/env perl

Why should the authors of those scripts break them for systems which have /bin/env?

Name one such system. [1]

Hint: the path to env isn't going to change on a standards-compliant system for the same reason that /bin/sh is always found in the same place. See IEEE Std 1003.x-2001 ("POSIX").

--
-Chuck

[1]: You might actually find a few very old, very broken versions of Linux which don't have a /bin/sh, only a /bin/bash. I've heard such creatures may have a /bin/env rather than a /usr/bin/env, too.

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to