On Sun, 2025-01-12 at 23:31 +0000, Martijn Dekker via austin-group-l at The Open Group wrote: > He changed this in mksh well before I did in ksh 93u+m, also for its > posix > mode (and its sh mode which is slightly different):
The problem with --posix modes or the likes is IMO that it doesn't typically help the developer with portable programming. If I write a script that should run under any shell, it would still be upon the user to actually call the used shell with whichever option/envvar/etc. is needed to get it into POSIX mode, which one cannot really count upon and in practice people will typically just use the "normal" mode. Also, one cannot (as a script developer) really test for it, at least not portably. Cheers, Chris.
