bill lam <[email protected]> wrote: > Thank you for the fix. I'll study and commit the changes. > > /bin/sh (dash) is posix and should be available in all *nix distros, and I > intend (and already done some) replace bash with sh in shell scripts.
If we're opting for broadest portability here, then you might want to consider using `#!/usr/bin/env sh'. /usr/bin/env has been available on Unices for a long time, and it benefits from pulling sh off PATH, which ends up working better in my experience under various "funny" environments such as containers, temporary build environments, etc. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
