bug-bash
[Top][All Lists]
Advanced

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

Re: Logical expressions and job control


From: Andreas Schwab
Subject: Re: Logical expressions and job control
Date: Fri, 10 Feb 2023 20:02:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

On Feb 10 2023, Godmar Back wrote:

> It appears to be mistaking the wait status for the exit status if your
> hypothesis is correct.

Easy to verify:

$ sleep 10 && echo yes || echo $?
^Z
[1]+  Stopped                 sleep 10
148

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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