UsrMove feature (was Re: FESCo meeting minutes for 2011-10-24)
mkkp4x4 at gmail.com
Mon Oct 24 20:27:35 UTC 2011
2011/10/24 Chris Adams <cmadams at hiwaay.net>:
> Once upon a time, Michał Piotrowski <mkkp4x4 at gmail.com> said:
>> In any case
>> #!/usr/bin/env sh
>> seems to be more portable solution.
> Using env has always been a hack (and overhead, especially on otherwise
> short shell scripts).
Yeah, this solution has its drawbacks, but it also has undoubted
advantages. Generally speaking it is better for end users to use
#!/usr/bin/env php/python/whatever in scripts.
> As for "portable", /bin/sh is as portable as it gets. I doubt there has
> been a significanly used Unix-like system since 7th Edition that didn't
> have a Bourne-like shell at /bin/sh.
> Chris Adams <cmadams at hiwaay.net>
> Systems and Network Administrator - HiWAAY Internet Services
> I don't speak for anybody but myself - that's enough trouble.
> devel mailing list
> devel at lists.fedoraproject.org
More information about the devel