Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Simple Way...

by Anonymous Monk
on Jan 15, 2002 at 00:44 UTC ( #138694=note: print w/replies, xml ) Need Help??


in reply to Remove the ^M Character from a Document

vi the file and white in command mode type in:

:%s/[ctrl+v][ctrl+m]//g

hitting the ctrl+v makes the carrot and ctrl+m specifies the letter "m"

basically searches and replaces all ^M with nothing

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://138694]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2018-01-22 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (238 votes). Check out past polls.

    Notices?