Re: [U-Boot] [PATCH 1/3] hush: Add default value substitution support

2012-09-02 Thread Wolfgang Denk
Dear Joe, In message <201208171931.35608.vap...@gentoo.org> Mike Frysinger wrote: > > > ${VAR:-default} ... > > ${VAR:=default} ... > > ${VAR:+default} ... > how about ${VAR-default} and ${VAR=default} and ${VAR+default} ? Maybe we (= you?) can add these, too? > > + if (assign) { > > +

Re: [U-Boot] [PATCH 1/3] hush: Add default value substitution support

2012-09-02 Thread Wolfgang Denk
Dear Joe Hershberger, In message <1345235191-13757-1-git-send-email-joe.hershber...@ni.com> you wrote: > Use standard sh syntax: > ${VAR:-default} > Use default value: if VAR is set and non-null, expands to $VAR. > Otherwise, expands to default. > ${VAR:=default} > Set default va

Re: [U-Boot] [PATCH 1/3] hush: Add default value substitution support

2012-08-17 Thread Mike Frysinger
On Friday 17 August 2012 16:26:29 Joe Hershberger wrote: > Use standard sh syntax: > ${VAR:-default} > Use default value: if VAR is set and non-null, expands to $VAR. > Otherwise, expands to default. > ${VAR:=default} > Set default value: if VAR is set and non-null, expands to $VA