[PATCH 1/1] cmd/setexpr: support concatenation of direct strings

Marek Vasut marek.vasut at mailbox.org
Sat Dec 21 21:07:55 CET 2024


On 12/21/24 4:14 PM, Heinrich Schuchardt wrote:
> Up to now the setexpr command only supported concatenating string provided
> by reference. Allow directly passing stings.
> 
> With this patch
> 
>      setexpr.s foo '1' + '3'
> 
> sets variable $foo to the value '13'.
How is this any different from

setenv foo 13

or

setenv foo ${var1}${var2}

?


More information about the U-Boot mailing list