[U-Boot] [PATCH 1/4] Add option -r to env import to allow import of text files with CRLF as line endings
Wolfgang Denk
wd at denx.de
Fri Aug 1 14:08:00 CEST 2014
Dear Alexander Holler,
In message <1405352998-7707-2-git-send-email-holler at ahsoftware.de> you wrote:
> When this option is enabled, CRLF is treated like LF when importing environments
> from text files, which means CRs ('\r') in front of LFs ('\n') are just ignored.
>
> Drawback of enabling this option is that (maybe exported) variables which have
> a trailing CR in their content will get imported without that CR. But this
> drawback is very unlikely and the big advantage of letting Windows user create
> a *working* uEnv.txt too is likely more welcome.
Should we not, for reasons of symmetry, then also extend "env export"
by such a "-r" option?
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
When it is incorrect, it is, at least *authoritatively* incorrect.
- Hitchiker's Guide To The Galaxy
More information about the U-Boot
mailing list