Re: [U-Boot] HUSH logical AND/OR expressions

2015-04-29 Thread James Chargin
Wolfgang, Thanks for your contributions. On 04/28/2015 03:51 PM, Wolfgang Denk wrote: Dear Joe, In message you wrote: I noticed you asked for a reference to the original hush code that is the origin for U-Boot's adaptation. I couldn't find a reply to that question. I also haven't been abl

Re: [U-Boot] HUSH logical AND/OR expressions

2015-04-28 Thread Wolfgang Denk
Dear Joe, In message you wrote: > > > I noticed you asked for a reference to the original hush code that is the > > origin for U-Boot's adaptation. I couldn't find a reply to that question. I > > also haven't been able to find anything with a quick we search. Do you know > > where it did come f

Re: [U-Boot] HUSH logical AND/OR expressions

2015-04-28 Thread Joe Hershberger
Hi James, On Tue, Apr 28, 2015 at 2:13 PM, James Chargin wrote: > Dear Joe, > > On 04/28/2015 11:35 AM, Joe Hershberger wrote: >> >> Hi James, >> >> On Tue, Apr 28, 2015 at 1:19 PM, James Chargin >> wrote: >>> >>> Dear Joe Hershberger, >>> >>> On 04/28/2015 11:00 AM, Joe Hershberger wrote:

Re: [U-Boot] HUSH logical AND/OR expressions

2015-04-28 Thread James Chargin
Dear Joe, On 04/28/2015 11:35 AM, Joe Hershberger wrote: Hi James, On Tue, Apr 28, 2015 at 1:19 PM, James Chargin wrote: Dear Joe Hershberger, On 04/28/2015 11:00 AM, Joe Hershberger wrote: Hi Joakim, On Mon, Apr 27, 2015 at 8:39 AM, Joakim Tjernlund wrote: Trying to get a better handl

Re: [U-Boot] HUSH logical AND/OR expressions

2015-04-28 Thread Joe Hershberger
Hi James, On Tue, Apr 28, 2015 at 1:19 PM, James Chargin wrote: > Dear Joe Hershberger, > > On 04/28/2015 11:00 AM, Joe Hershberger wrote: >> >> Hi Joakim, >> >> On Mon, Apr 27, 2015 at 8:39 AM, Joakim Tjernlund >> wrote: >>> >>> Trying to get a better handle of HUSH shell expressions, this does

Re: [U-Boot] HUSH logical AND/OR expressions

2015-04-28 Thread James Chargin
Dear Joe Hershberger, On 04/28/2015 11:00 AM, Joe Hershberger wrote: Hi Joakim, On Mon, Apr 27, 2015 at 8:39 AM, Joakim Tjernlund wrote: 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

Re: [U-Boot] HUSH logical AND/OR expressions

2015-04-28 Thread Joe Hershberger
Hi Joakim, On Mon, Apr 27, 2015 at 8:39 AM, Joakim Tjernlund wrote: > 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? I think it works as it should

[U-Boot] HUSH logical AND/OR expressions

2015-04-27 Thread Joakim Tjernlund
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 _