From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 25 Sep 2020 15:09:55 +0200 Subject: [PATCH 0/3] add "call" command In-Reply-To: <4b00225d-d960-4a14-9aec-110ddddf7f30@gmx.de> References: <20200925111942.4629-1-rasmus.villemoes@prevas.dk> <4b00225d-d960-4a14-9aec-110ddddf7f30@gmx.de> Message-ID: <4118922.1601039395@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Heinrich Schuchardt, In message <4b00225d-d960-4a14-9aec-110ddddf7f30@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