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.

  • exec redirec... Christoph Anton Mitterer via austin-group-l at The Open Group
    • Re: exe... Lawrence Velázquez via austin-group-l at The Open Group
      • Re:... Oğuz via austin-group-l at The Open Group
      • Re:... Chet Ramey via austin-group-l at The Open Group
        • ... Martijn Dekker via austin-group-l at The Open Group
          • ... Christoph Anton Mitterer via austin-group-l at The Open Group
            • ... Lawrence Velázquez via austin-group-l at The Open Group
    • Re: exe... Lawrence Velázquez via austin-group-l at The Open Group
      • Re:... Geoff Clare via austin-group-l at The Open Group
        • ... Lawrence Velázquez via austin-group-l at The Open Group
          • ... Geoff Clare via austin-group-l at The Open Group
        • ... Christoph Anton Mitterer via austin-group-l at The Open Group
          • ... Geoff Clare via austin-group-l at The Open Group
      • Re:... Christoph Anton Mitterer via austin-group-l at The Open Group
    • Re: exe... Harald van Dijk via austin-group-l at The Open Group
      • Re:... Christoph Anton Mitterer via austin-group-l at The Open Group

Reply via email to