Is the requirement that the \r shall be in front of a \n or should all \r'r be stripped even if the first line (my interpretation of "header") contains a \r anywhere, like in
123,"abc\rdef",4,\n
Beside that, we probably like the *reason* fro the strip needage to be able to come up with better answers.
In reply to Re: One Liner to strip crlf
by Tux
in thread One Liner to strip crlf
by dirtdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |