[Bug 14851] New: Support pipefail in `sh`

bugzilla at busybox.net bugzilla at busybox.net
Fri Jun 17 01:12:49 UTC 2022


https://bugs.busybox.net/show_bug.cgi?id=14851

            Bug ID: 14851
           Summary: Support pipefail in `sh`
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: tmgross at umich.edu
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Hello all,

As I understand, POSIX:2022 will include the option to set -o pipefail. Would
busybox consider adding this to their flavor of `sh`?

The POSIX standard is expected to be released in 2023 I believe. The
in-progress standard is quite difficult to access for those not involved, but
this discussion makes it clear that it should be coming:
https://www.austingroupbugs.net/view.php?id=789. Additionally, Stéphane in this
comment states that the resolution was accepted in 2019:
https://unix.stackexchange.com/a/654932/150903

Even outside of the scope of this standard, pipefail is a very useful option
and could be added at any time.

Note: I opened this request at the suggestion of Natanael Copa, based on the
Alpine git issue here: https://github.com/alpinelinux/docker-alpine/issues/258.
Most of the aboce is paraphrased from what I wrote in the comments there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list