bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PIPESTATUS differs from $? for compound command


From: Chet Ramey
Subject: Re: PIPESTATUS differs from $? for compound command
Date: Thu, 12 Dec 2024 13:01:49 -0500
User-agent: Mozilla Thunderbird

On 12/11/24 9:54 PM, Dale R. Worley wrote:

This needs to be corrected to note that compound commands that are not
one component of a multi-command pipeline do not cound as pipelines for
setting PIPESTATUS.  Exactly which compounds commands don't set
PIPESTATUS needs to be made clear as it's not at all obvious.

I'll add something enumerating the commands that set PIPESTATUS.

"processes" should probably be changed to "commands" as that's what
they're called in the documentation.

Probably.

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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]