in reply to nonprinting chars
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: nonprinting chars
by stabu (Scribe) on Sep 17, 2004 at 15:48 UTC |