[PATCH 0/3] add "call" command
Wolfgang Denk
wd at denx.de
Fri Sep 25 15:09:55 CEST 2020
Dear Heinrich Schuchardt,
In message <4b00225d-d960-4a14-9aec-110ddddf7f30 at gmx.de> you wrote:
>
> Further we cannot first introduce a command call and then eliminate it
> due to backward compatibility. We should decide on the final version
> beforehand.
Full agreement. we need a concept of what is needed / wanted first.
And then we should look how current vrsions of hush fit into this.
> In the Linux world you can override a command using an alias. So I am
> not sure if a built in command should take precedence over a variable of
> the same name or the other way round.
This is simple. The PoLA (Principle of Least Astonishment) applies
here. Behaviour must be the same as in other (to some extent POSIX
compatible) shells. A shell should parse it's input, not adhoculate
it.
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
"Ada is PL/I trying to be Smalltalk. - Codoso diBlini
More information about the U-Boot
mailing list