From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: u-boot@lists.denx.de
Subject: [U-Boot] HUSH logical AND/OR expressions
Date: Mon, 27 Apr 2015 13:39:21 +0000 [thread overview]
Message-ID: <1430141961.15069.7.camel@transmode.se> (raw)
Trying to get a better handle of HUSH shell expressions, this does not work as I expect:
=> false && true || echo ECHO
=> false && false || echo ECHO
none prints ECHO, seems like a bug?
This the only one that prints ECHO
>= true && false || echo ECHO
Jocke
next reply other threads:[~2015-04-27 13:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 13:39 Joakim Tjernlund [this message]
2015-04-28 18:00 ` [U-Boot] HUSH logical AND/OR expressions Joe Hershberger
2015-04-28 18:19 ` James Chargin
2015-04-28 18:35 ` Joe Hershberger
2015-04-28 19:13 ` James Chargin
2015-04-28 19:47 ` Joe Hershberger
2015-04-28 22:51 ` Wolfgang Denk
2015-04-29 15:19 ` James Chargin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1430141961.15069.7.camel@transmode.se \
--to=joakim.tjernlund@transmode.se \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox