Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Removing Control Characters

by zigster (Hermit)
on Feb 22, 2001 at 19:33 UTC ( [id://60220]=note: print w/replies, xml ) Need Help??


in reply to vi Rooolzzz
in thread Removing Control Characters

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

--

Zigster

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://60220]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-18 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found