Howdy:

I have a text file that I'm trying to use, but, it has control characters
at the end.

[snip]

test.txt: ASCII text, with very long lines, with NEL line terminators

[/snip]

I've tried to use 'sed' and 'tr' to remove NEL and just have
an ASCII text.  I've even used dos2unix, but that doesn't
seem to help.

I thought I could do it with chomp / chop, but I don't think I'm
doing it properly.

How can I remove things like CL/LF, NEL, etc from a
text file?

Thanks!

-X

Reply via email to