On 1/11/24 3:53 AM, Andrew Pennebaker via austin-group-l at The Open Group wrote:
With sh gaining set -o pipefail, I am curious about having sh require (or encourage) enabling this option by default. it would help to catch a lot of false negatives in deceptively simple scripts.

No. This would break a large body of existing scripts, and it's not the
purpose of the standard. Any implementation can choose to default it to
enabled, of course.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

  • sh: set -o pipefa... Andrew Pennebaker via austin-group-l at The Open Group
    • Re: sh: set ... Lawrence Velázquez via austin-group-l at The Open Group
      • Re: sh: ... Daniel Santos via austin-group-l at The Open Group
      • Re: sh: ... Robert Elz via austin-group-l at The Open Group
        • Re: ... Daniel Santos via austin-group-l at The Open Group
    • Re: sh: set ... Chet Ramey via austin-group-l at The Open Group

Reply via email to