[U-Boot] setexpr syntax

Wolfgang Denk wd at denx.de
Thu Feb 25 15:00:08 CET 2010


Dear Frans Meulenbroeks,

In message <ac9c93b11002250451m3d58dbd3ve7caa50a3acedb3 at mail.gmail.com> you wrote:
> 
> I noticed setexpr help says:
>  <op> can be &, |, ^, +, -, *, /, %
> 
> However, when one uses the hush shell additional escapes might be needed.

Well, yes, of course.

> Not sure whether we should document this somewhere (or modify the help text).
> It took me a few minutes to realise what is going on, so a warning
> somewhere seems in place.

Please feel free to extend / update the documentation, but eventually
necessary shell escapes are beyond the scope of the help message.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Build a system that even a fool can use and only a fool will want  to
use it.


More information about the U-Boot mailing list