in reply to
Search and Replace
Combine the
-p
and
-i
switch to get a handy one-liner
perl -i.bak -pe 'tr[~][\r]' yourfile
[download]
See.
perlrun
for more info on the switches used above.
HTH
_________
broquaint
Comment on
Re: Search and Replace
Download
Code
In Section
Seekers of Perl Wisdom