Ming Hua wrote:
> On Thu, May 10, 2007 at 08:59:19AM -0700, Micah Cowan wrote:
>> Fergal Daly wrote:
>>
>>> You are also implying that everything in /usr/bin that start with
>>>
>>> #! /usr/bin/{perl,python,...}
>>>
>>> is wrong and should actually start with
>>>
>>> #! {perl,python,...}
>> That doesn't work. #! requires a path.
>
> For the sake of discussion, I think
>
> #!/usr/bin/env perl
>
> will pick up $PATH and is a valid #! line. I also believe this is widely
> used.Yes, it will. But isn't that a somewhat silly suggestion considering the context? If /usr/bin/perl were "bad" then /usr/bin/env would be just as "bad", it seems to me... -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/
signature.asc
Description: OpenPGP digital signature
-- Ubuntu-devel-discuss mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
