Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14128

Re: Conditions with logical operators and nested groups execute "if" and "else"

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: Conditions with logical operators and nested groups execute "if" and "else"
Date 2018-05-22 08:29 -0400
Message-ID <mailman.231.1526992158.1292.bug-bash@gnu.org> (permalink)
References <CAM4RgKgOACdJtjBFpKMhfoXvbSwun=84pPdADNaJVKcd-Z5GFg@mail.gmail.com>

Show all headers | View raw


On Mon, May 21, 2018 at 04:17:18PM -0500, Uriel wrote:
> [[ EXPRESSION ]]; && { TRUE CONDITION; } || { ALTERNATIVE RESULT; }

https://mywiki.wooledge.org/BashPitfalls#pf22

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Conditions with logical operators and nested groups execute "if" and "else" Greg Wooledge <wooledg@eeg.ccf.org> - 2018-05-22 08:29 -0400

csiph-web