[U-Boot] [U-Boot, 1/4] Add option -r to env import to allow import of text files with CRLF as line endings
Tom Rini
trini at ti.com
Tue Jul 22 21:23:05 CEST 2014
On Mon, Jul 14, 2014 at 05:49:55PM +0200, Alexander Holler 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.
>
> Signed-off-by: Alexander Holler <holler at ahsoftware.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140722/53660fe9/attachment.pgp>
More information about the U-Boot
mailing list