Good point Roboticus...I'll just run the one liner on the entire file as follows:
perl -i -pe 's/\r// if /\r$/' <file>
The time savings is probably negligable as you demonstrated.
thanks for the help
In reply to Re^2: One Liner to strip crlf
by dirtdog
in thread One Liner to strip crlf
by dirtdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |