On Wed, 24 Jul 2024, Greg Wooledge wrote:
> Remember how -e is defined:
>
> -e [...] The shell does not exit if the command that fails is [...] any
> command in a pipeline but the last

diff --git a/doc/bash.1 b/doc/bash.1
index cd355a3..266fe35 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -10327,7 +10327,7 @@ reserved words, part of any command executed in a
 or
 .B ||
 list except the command following the final \fB&&\fP or \fB||\fP,
-any command in a pipeline but the last,
+any command in a pipeline but the last (unless \fBpipefail\fP applies),
 or if the command's return value is
 being inverted with
 .BR ! .

  • if source comman... Mor Shalev via Bug reports for the GNU Bourne Again SHell
    • Re: if sour... Greg Wooledge
      • Re: if ... Mor Shalev via Bug reports for the GNU Bourne Again SHell
        • Re:... Mor Shalev via Bug reports for the GNU Bourne Again SHell
        • Re:... Greg Wooledge
          • ... Martin D Kealey
            • ... Chet Ramey
        • Re:... Chet Ramey
          • ... G. Branden Robinson

Reply via email to