Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
However, this is shorter and still portable :-)
tr -d '\\r' < input.file > output.file
Regards,
Doug Lawry
www.douglawry.webhop.org
"Philipp Walderdorff" <ph.walderdorff@gmx.at> wrote:
> eThe line-length is shorter, but can be longer as well ( in some files).
>
> I could solve the problem by cleaning the files through
> the help of jack parker:
> awk 'BEGIN {RS="\\r"} {printf("%s\\n",$0)}' input.file > output.file
>
> Thanks to the usergroup
> philipp Walderdorff
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.