
13 Sep
2005
13 Sep
'05
8:14 p.m.
In message 2D63750CB4594644B0372AC317B521CC5DB9C4@mtlexch04 you wrote:
While setting-up an OMAP 5912 OSK, I experienced funny behavior with U-Boot's setenv command. The cause was that I was using an invalid syntax with an equal sign, i.e. setenv variable=value instead of setenv variable value
This is not exactly invalid syntax. The first command is actually valid - it tries to delete the "variable=value" variable.
Would it be a fair limitation to impose that variable names can't contain an
Yes.
equal sign, and either accept my invalid syntax or report an error ?
Umm... actually this is what it already does: it accepts your syntax :-)
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Use C++ to confuse your enemies; use C to produce stable code.