But, I cannot get it to recognize the ^M and spaces to perform a search on the above phrase. HELP?
You can change the meaning of EOL
perl -l015 -e " s/// " tells perl to use ^M as EOL
$ perl -le " printf q[CR \r is %03o], ord qq[\r] " CR \r is 015
In reply to Re: Find Replace
by Anonymous Monk
in thread Find Replace
by SimTech
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |