in reply to
How to remove "^M" in the files ?
you could also use the command dos2ux
dos2ux myfile > newfile
newfile will be in the proper format
of course s/// and tr/// will also do
hth
Comment on
Re: How to remove "^M" in the files ?
In Section
Seekers of Perl Wisdom