[U-Boot] HUSH logical AND/OR expressions

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Apr 27 15:39:21 CEST 2015


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


More information about the U-Boot mailing list