Considering that POSIX is the closest thing to a common standard among all unices, I'm interested in knowing if there's a shell that supports it exclusively. While most modern shells provide support for POSIX (and will run POSIX compliant scripts without any problem), they don't do a good job at pointing out non-compliant features.
Is there any shell that implements POSIX and POSIX only, in such a way that it'd throw an error for any non compliant feature?
EDIT I want to clarify that I'm not asking for general tips for writing portable shell scripts. The related question mentioned in the comments already covered this. I thought of this question when I found out that
bash has a
--posix option but only to discover that it only affects some intialization behaviors which is not exactly what I'm looking for.