[RFC PATCH 02/28] cli: Add LIL shell

Wolfgang Denk wd at denx.de
Tue Jul 6 09:46:43 CEST 2021


Dear Sean,

In message <e7e23702-4e55-f785-c77f-2d3076fdd67b at gmail.com> you wrote:
>
> >>> foo() {				proc foo {first second} {
> >>> 	echo $1 $2			echo $first $second
> >>> }				}
>
> This is not possible. We only have eval (run) as of today. I view adding
> functions as one of the most important usability improvements we can
> make.

Again:  this is not an issue with hush as is, but only with our
resource-limited port of a nearly 20 year old version of it.

Updating to a current version would fix this, in an almost 100%
backward compatible way.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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
If you don't have time to do it right, when will you have time to  do
it over?                                                - John Wooden


More information about the U-Boot mailing list