|
From: | Greg Wooledge |
Subject: | Re: declare XXX=$(false);echo $? |
Date: | Fri, 2 Dec 2022 07:19:02 -0500 |
On Fri, Dec 02, 2022 at 11:28:50AM +0100, Ulrich Windl wrote: > Surprisingly "declare XXX=$(false);echo $?" outputs "0" (not "1") https://mywiki.wooledge.org/BashPitfalls#pf27
[Prev in Thread] | Current Thread | [Next in Thread] |