No, newer ksh93 has ${.sh.version} which gives an evaluation error with other shells.

But fine. Just thought I’d point out the more reliable / “obvious” method. Integrating into what’s there probably has precedence here.