[U-Boot] [PATCH] Ignore all Carriage Returns when importing an environment.
Marek Vasut
marex at denx.de
Sat May 12 18:08:54 CEST 2012
Dear Alexander Holler,
> Am 12.05.2012 16:46, schrieb Marek Vasut:
> > Dear Alexander Holler,
> >
> >> Am 12.05.2012 08:17, schrieb Marek Vasut:
> >>> Dear Alexander Holler,
> >>>
> >>>> This is used for compatibility with text files which are
> >>>> using CRLF instead of LF as the end of a line.
> >>>>
> >>>> Signed-off-by: Alexander Holler<holler at ahsoftware.de>
> >>>
> >>> Why don't you run the file trough dos2unix or tr -d '\r' ?
> >>
> >> Because my files don't contain CRs. ;)
> >
> > s/you/someone else/ :)
>
> Try to explain a windows user that a text file should not contain
> carriage returns and how he can achieve that.
>
> You'll do it once, maybe twice, than you will surrender. ;)
But you're fixing the problem at a wrong place, aren't you? Besides, removing \r
might harm some environments, don't you think?
> Regards,
>
> Alexander
Best regards,
Marek Vasut
More information about the U-Boot
mailing list