Clark WANG wrote:
I think every POSIX compatible shell has its own extensions so there's
no guarantee that a script which works fine in shell A would still work
in shell B even if both A and B are POSIX compatible unless the script
writer only uses POSIX compatible features. Is there a pure POSIX shell
without adding any extensions?
---
Excellent point -- then what is the point of POSIX compatibility?
Considering that there seems to be no way to run Bash in POSIX-only mode,
(and likely other POSIX-'compatible' [sic]) shells are similar -- they support
the minimums, but have no way for someone to determine if their script is
POSIX compatible (meaning only using POSIX)...