[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] difference of $? and ${PIPESTATUS[0]}
From: |
Kerin Millar |
Subject: |
Re: [Help-bash] difference of $? and ${PIPESTATUS[0]} |
Date: |
Mon, 22 Apr 2024 12:27:24 +0100 |
User-agent: |
Cyrus-JMAP/3.11.0-alpha0-379-gabd37849b7-fm-20240408.001-gabd37849 |
On Mon, 22 Apr 2024, at 8:56 AM, Oğuz wrote:
> On Mon, Apr 22, 2024 at 10:24 AM Kerin Millar <kfm@plushkava.net> wrote:
>> I cannot find anything in the manual that concretely explains why bash
>> behaves as it does in this instance.
>
> Me neither, but the current behavior is useful. Take `while false |
Very much so. The clarity of the documentation is my only concern.
--
Kerin Millar