[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: shebang cleanup



On Tue, 2001-11-27 at 03:49, Kenneth Porter wrote:
> On Mon, 26 Nov 2001 17:10:05 -0500 (EST), R P Herrold wrote:
> 
> >I hit upon using the following (line backslash continuation 
> >for illustration only -- unbroken in the actual .spec file):
> 
> The webmin package (http://www.webmin.com/) uses a Perl script
> (perlpath.pl) to clean up the shebangs on all its files.
> 
> The FHS mailing list recently carried the suggestion that all scripts
> should use /usr/bin/env (part of the sh-utils package) to find the
> proper interpreter for all scripts and invoke it:
> 
> #!/usr/bin/env perl
> 
> This removes the dependency on Perl's location (and that of all other
> interpreters) and replaces it with one on the env binary.

I don't see how trading one hard-coded path for another helps any...
	Greg






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []