If I wanted to be sure that a script I have written is as portable as possible and only uses POSIX features and no, say, bash features, is there an explicit way to check this?
Obviously, I could try running it in a different shell to my usual shell, but that only confirms that my script is limited to features supported by that shell... features that, themselves, might go beyond POSIX.