Liste des Groupes | Revenir à cu shell |
Bash has an option that tells it to (attempt to) restrict itself to
POSIX semantics:
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.
I haven't used this option myself, and I don't know just how closely it
actually conforms to POSIX.
I'm less familiar with ksh and zsh, but they probably have similar
options. At least the "MirBSD Korn shell" has "set -o posix".
Les messages affichés proviennent d'usenet.