[U-Boot] [PATCH 2/2] beagle: handle import of environments in files with CRLF as line endings

Måns Rullgård mans at mansr.com
Sun May 13 23:47:43 CEST 2012


Marek Vasut <marex at denx.de> writes:

> Dear Wolfgang Denk,
>
>> Dear Marek Vasut,
>> 
>> In message <201205131909.49488.marek.vasut at gmail.com> you wrote:
>> > > -		"env import -t $loadaddr $filesize\0" \
>> > > +		"env import -t -r $loadaddr $filesize\0" \
>> > 
>> > Not everyone importing env on beagle use broken tools ;-)
>> 
>> It's not a problem of using broken tools - the problem is of ignorant
>> people _not_ using decade old, working tools like dos2unix if they
>> need them.
>
> tr -d '\r' won't work? :-)
>
>> As I mentionewd a coule of times before, I am seriously tempted to
>> ignore this "problem".
>
> Can't the wincrap people be taught to use cygwin? Or possibly some Windows (R)
> (C)(TM)(???) rebuilt version of tr -d '\r' ?

Most text editors on windows except notepad.exe have an option for
Unix-style line breaks.  People who insist on using notepad.exe deserve
no sympathy.

-- 
Måns Rullgård
mans at mansr.com



More information about the U-Boot mailing list