Once upon a time, MichaĆ Piotrowski <mkkp4x4(a)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).
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(a)hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.