[PATCH v6 4/7] env: Allow U-Boot scripts to be placed in a .env file

Wolfgang Denk wd at denx.de
Tue Oct 19 12:38:23 CEST 2021

Dear Simon,

In message <CAPnjgZ2FGUCFDbSU8TvsV5p-5p3aqnwf7ju28xMKB__w2-ATGw at mail.gmail.com> you wrote:
> > Hm... I can't find it right now but did I not also read about other
> > restrictions to variable names, like they must noch begin with '_'
> > when using this new tool?
> Yes but I took that out (I think in v6). I'll update the commit message.

Why exactly is this now forbidden, too?

> > I feel it is wrong to place new restrictions on something that was
> > constant for 21 years, just because our parser cannot parse it...
> We need the + thing and perhaps we should ask people to avoid
> punctuation, etc? But for now I'm not requiring it in this series,
> apart from +

Punctuation?  Well, we already have ".flags", so at least here we do
have a real life use case.

I really would like to avoid new restictions of variable names,
especially as I cannot see any good reason for it - yes, your awk
script cannot handle this situation, but I tend to belive the fix is
in a better parser than in placing restrictions on the input data.

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
Half of the people in the world are below average.

More information about the U-Boot mailing list