Dear all,

I noticed setexpr help says:
 <op> can be &, |, ^, +, -, *, /, %

However, when one uses the hush shell additional escapes might be needed.

=> setexpr tst 3 & f
syntax error
=> setexpr tst 3 | f
syntax error

This works:
=> setexpr tst 3 \| f
=> print tst
tst=f

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.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to