bug-bash
[Top][All Lists]
Advanced

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

Re: why "shopt -p" sometime return non-zero ?


From: Oğuz
Subject: Re: why "shopt -p" sometime return non-zero ?
Date: Thu, 25 Sep 2025 18:18:56 +0300

On Thursday, September 25, 2025, Jean-Jacques Brucker via Bug reports for
the GNU Bourne Again SHell <bug-bash@gnu.org> wrote:
>
> That is weird and confusing.
>

How? Failed commands don't trigger errexit when their exit statuses are
controlled. If you need a list of such situations, POSIX has one here
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_26


-- 
Oğuz


reply via email to

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