
On Tue, Jul 06, 2021 at 09:46:43AM +0200, Wolfgang Denk wrote:
Dear Sean,
In message e7e23702-4e55-f785-c77f-2d3076fdd67b@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.
Let us cut to the chase then. Who is going to port a modern version of hush over to U-Boot, and maintain it? If we fork and forget again, we'll be in a bad place once again in 2-3 years.