From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Holler Date: Mon, 14 May 2012 10:29:08 +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: <4FB0C254.2000801@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: >> >> Sorry, it seems you just are unable or yiu don't want to understand the >> problem. So here is my last message on this topic, trying to explain it >> for you. > > I'm sorry you are giving up so early, just one resubmit before getting > this into an acceptable state. > >> So one just tells the user(s) that if they want to change some option >> they just have to create a text file on a specific place which contains >> a line like e.g. > > I guess this is the point where the problem starts. You should not > write anywhere "they just have to create a text file", because "a text > file" is not a precise enough definition of the required input format. > >> The only problem is that such a description currently only works for >> Linux users. ... > > The problem is not Windows users versus Linux users here. The problem > is unsufficient information. > >> ... I don't know with what devices and users you are dealing, >> but there are some people out in the wild which don't know (much) about >> Linux, or even about the difference in line endings between text files >> creates using Windows or Linux. Some of them even just want to use their >> device. > > In either case, people are usually pretty good in following pre-canned > recipies for doing things. > > Instead of "create a text file" one could for example document that "a > UNIX style text file, i. e. with only "\n" line endings (and not the > DOS-derived "\r\n" line endings) is needed". One could add some > description that "on Windows systems, the command ... can be used to > convert a DOS file into this format" (and provide a URL where to get > this tool), "while on UNIX systems like Linux the dos2unix tool can be > used". > > If you then add an example suitable for copy& paste you can solve a > very large percentage of the propblems you see now. Sorry, but you are just describing one of the oldest dreams (not only) in IT. You can write whatever you wish, users are able to not read it, to misread it, to ignore it, not to understand it or it will get missing in an one-line copy of the original multine description. Regards, Alexander