On Mon, Jun 30, 2008 at 3:14 PM, Ryan Davis <ryand-ruby / zenspider.com> wrote:
>
> On Jun 29, 2008, at 20:59 , Garance A Drosehn wrote:
>
>> The 'env' command in FreeBSD provides a way around this, by adding some more
>> options to 'env' so it can parse out the individual options, but I don't
>> know if any other OS's will notice that and pick up the options.  (note:
>> I'm the guy who added those options to 'env' in FreeBSD...)
>
> I've been told that FreeBSD is going to start acting like linux in this regard... is that true?

I'm not sure what you mean.  The last I checked, freebsd parses the
'#!' line in the0
same way that Linux, Solaris, and a few other unixes did.  FreeBSD
*used* to have
a different way for parsing that line, but a few years ago I fixed it
to parse the line
the same way every other unix parses it.

As for the 'env' command, the version on FreeBSD is pretty much the
same as `env'
on other unixes, except that I added a few new options which can be very useful
when using 'env' on a '#!' line.  Admittedly I have not checked the
latest versions of
linux though, so maybe they added some other options to 'env'.

So I don't know what you are referring to when you ask if it is going
to start acting
like linux...

--
Garance Alistair Drosehn = drosihn / gmail.com
Senior Systems Programmer
Rensselaer Polytechnic Institute; Troy, NY; USA