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: Andreas Schwab
Subject: Re: PIPESTATUS differs from $? for compound command
Date: Tue, 10 Dec 2024 09:43:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

On Dez 10 2024, Mike Jonkmans wrote:

> With 'if false... fi | true' there are two pipelines:
> 1) false
> 2) (compound command) if | true

There is only one pipeline, consisting of two commands.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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