/bin/sh - POSIX?
wuyongwei at gmail.com
Tue Mar 7 14:29:19 UTC 2017
>From the man page:
Bash is largely compatible with `sh' and incorporates useful
features from the Korn shell `ksh' and the C shell `csh'. It is
intended to be a conformant implementation of the IEEE POSIX Shell and
Tools portion of the IEEE POSIX specification (IEEE Standard 1003.1).
It offers functional improvements over `sh' for both interactive and
Starting Bash with the `--posix' command-line option or executing `set
-o posix' while Bash is running will cause Bash to conform more closely
to the POSIX standard by changing the behavior to match that specified
by POSIX in areas where the Bash default differs.
When invoked as `sh', Bash enters POSIX mode after reading the
On 7 March 2017 at 22:12, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> Can someone please confirm whether /bin/sh is still POSIX compliant on 10.12.latest (i.e. `/bin/sh --version` shows it's actually bash), please?
More information about the macports-users