[PATCH v8 4/8] env: Allow U-Boot scripts to be placed in a .env file
Wolfgang Denk
wd at denx.de
Tue Oct 19 18:05:47 CEST 2021
Dear Simon,
In message <CAPnjgZ3THSM=TYvkGQJanmD0SwUzWsmcYWTG=vUaHiqFje3VfQ at mail.gmail.com> you wrote:
>
> Well ideally I'd like to avoid Python in this case as it is in the
> compilation path. I am not sure yet what Wolfgang actually wants,
> apart from variable names ending with + which I would like to
> disallow.
>
> So if we can clearly understand the goal, then we might be able to do
> it in awk, but, again, can we just disallow '+' in var names ?
My goal is to have a parser that does not place new restrictions on
an ancient interface. The first step would probably be to define a
clear syntax description.
Eventually this would be also more allowing for variations in white
space, so that "<name>=<value>" could also be written as "<name> =
<value>". ....which in turn would allow for
foo+ = bar
vs.
foo += bar
.
Just my 2¢...
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
Our universe is a fragile house of atoms, held together by the mortar
of cause-and-effect. One magician would be two too many.
- Terry Pratchett, _The Dark Side of the Sun_
More information about the U-Boot
mailing list