Re: [RFC PATCH v1 12/21] cli: hush_2021: Enable variables expansion for hush 2021.

2022-01-12 Thread Simon Glass
On Fri, 31 Dec 2021 at 09:14, Francis Laniel wrote: > > The following commit enables variables expansion for hush 2021, both for local > and environment variables. > So the following commands: > foo=bar > echo $foo > setenv bar foo > echo $bar > leads to "bar" and "foo" being printed on console ou

[RFC PATCH v1 12/21] cli: hush_2021: Enable variables expansion for hush 2021.

2021-12-31 Thread Francis Laniel
The following commit enables variables expansion for hush 2021, both for local and environment variables. So the following commands: foo=bar echo $foo setenv bar foo echo $bar leads to "bar" and "foo" being printed on console output. Signed-off-by: Francis Laniel --- common/cli_hush_2021.c