From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 30 Jul 2014 16:47:57 -0600 Subject: [U-Boot] [PATCH 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-1-git-send-email-holler@ahsoftware.de> <1405352998-7707-2-git-send-email-holler@ahsoftware.de> Message-ID: <53D9761D.8050304@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/14/2014 09:49 AM, 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. This patch doesn't seem to have been applied, yet patches 2..4 in the series were. This means that various boot scripts use "env import -t -r ..." which fails due to the unknown option -r...