2011/10/24 Chris Adams <cmadams@xxxxxxxxxx>: > Once upon a time, Michał Piotrowski <mkkp4x4@xxxxxxxxx> 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@xxxxxxxxxx> > Systems and Network Administrator - HiWAAY Internet Services > I don't speak for anybody but myself - that's enough trouble. > -- > devel mailing list > devel@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/devel -- Best regards, Michal http://eventhorizon.pl/ -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel