perl -p -i- -e 's/\r\n/\b/g' did not work because stdin and stdout are in text mode, so the \r's are discarded when they are read, and are added back when they are output. Use binmode to avoid that.
In reply to Re: nonprinting chars
by ambrus
in thread nonprinting chars
by stabu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |