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

Wolfgang Denk
2012-05-13T19:26:19Z

Dear Marek Vasut,

In message <201205132057.47247.marex@denx.de> you wrote:
>
> > 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? :-)

Not as well - it will delete _all_ ocurrences of \r, which is more
than just changing "\r\n" into "\n" (which still may be wrong in some
cases).

But yes, TIMTOWTDI.

> Can't the wincrap people be taught to use cygwin? Or possibly some Windows (R)
> (C)(TM)(???) rebuilt version of tr -d '\r' ?

Do you care?

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A conservative is a man with two perfectly good legs who has never
learned to walk. - Franklin D. Roosevelt