OUTSTANDING!!!
I love PM I really do, how did I not know about -i, what a cool and goovey flag. It is times like this when I just boggle at perl, how can one language be so versitile.
Ignore my node later raj8 this is a far better way of doing what you want. Although I would recomend the $ in the regexp:
perl -ibak -pe 's/\r$//' README.DOS
In reply to Re: Removing Control Characters
by zigster
in thread Removing Control Characters
by raj8
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |