From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Holler Date: Mon, 14 May 2012 11:07:39 +0200 Subject: [U-Boot] [PATCH 2/2] beagle: handle import of environments in files with CRLF as line endings In-Reply-To: <20120513213811.B559D202B2F@gemini.denx.de> References: <1336913407-7383-1-git-send-email-holler@ahsoftware.de> <201205131909.49488.marek.vasut@gmail.com> <20120513184935.50B45202B33@gemini.denx.de> <201205132057.47247.marex@denx.de> <4FB01720.90402@ahsoftware.de> <20120513213811.B559D202B2F@gemini.denx.de> Message-ID: <4FB0CB5B.2040907@ahsoftware.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 13.05.2012 23:38, schrieb Wolfgang Denk: > Dear Alexander, > > In message<4FB01720.90402@ahsoftware.de> you wrote: > What exactly are such error modes, by the way? I would expect that > trailing white space is pretty much harmless for most variable > settings? The problem already starts in u-boot itself: a="b\r" I'm not sure if \r on the u-boot-cmdline does work, but you know what I mean. $a=="b" is false fatload $a fails (if the file is named 'b'). ... Regards, Alexander