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

Måns Rullgård
2012-05-13T21:47:43Z

Marek Vasut <marex@denx.de> writes:

> Dear Wolfgang Denk,
>
>> Dear Marek Vasut,
>>
>> In message <201205131909.49488.marek.vasut@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