[U-Boot] [PATCH] Ignore all Carriage Returns when importing an environment.
Wolfgang Denk
wd at denx.de
Fri May 11 21:09:44 CEST 2012
Dear Alexander Holler,
In message <1336720486-7424-1-git-send-email-holler at ahsoftware.de> you wrote:
> This is used for compatibility with text files which are
> using CRLF instead of LF as the end of a line.
I don't think we should do this. If you have text files with CR-LF
line endings, then please use external tools (like dos2unix) to filter
these and bring them into the appropriate format.
I would like to put as little restrictions on the content of an
environment variable as possible. I can see valid use for strings
that contain a CR character.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
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
There is, however, a strange, musty smell in the air that reminds me
of something...hmm...yes...I've got it...there's a VMS nearby, or I'm
a Blit. - Larry Wall in Configure from the perl distribution
More information about the U-Boot
mailing list