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


Groups > gnu.bash.bug > #14128 > unrolled thread

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

Started byGreg Wooledge <wooledg@eeg.ccf.org>
First post2018-05-22 08:29 -0400
Last post2018-05-22 08:29 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2018-05-22 08:29 -0400
SubjectRe: Conditions with logical operators and nested groups execute "if" and "else"
Message-ID<mailman.231.1526992158.1292.bug-bash@gnu.org>
On Mon, May 21, 2018 at 04:17:18PM -0500, Uriel wrote:
> [[ EXPRESSION ]]; && { TRUE CONDITION; } || { ALTERNATIVE RESULT; }

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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web