On 23/12/16 01:37, Craig Sanders via luv-main wrote: > On Fri, Dec 23, 2016 at 12:57:48AM +1100, Andrew McGlashan wrote: >> #!/usr/bin/env bash > > please don't promote thet obnoxious brain-damage. it's bad enough seeing the > #!/usr/bin/env disease on sites like stackexchange (where at least they have > the excuse of catering to non-linux systems - and even there it's broken, > because env isn't guaranteed to be in /usr/bin on all systems anyway) but bash > will be /bin/bash on every linux system that exists, and always will be. > > there are lots of good reasons why abusing /usr/bin/env like this is a bad > idea at: > > http://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my
Thanks for the reference. Cheers A.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ luv-main mailing list [email protected] https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main
