From: Tom Rini Date: Tue, 22 Jul 2014 15:23:05 -0400 Subject: [U-Boot] [U-Boot, 1/4] Add option -r to env import to allow import of text files with CRLF as line endings In-Reply-To: <1405352998-7707-2-git-send-email-holler@ahsoftware.de> References: <1405352998-7707-2-git-send-email-holler@ahsoftware.de> Message-ID: <20140722192305.GJ1847@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: