Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Remove the ^M Character from a Document

by mirod (Canon)
on Jan 05, 2001 at 01:01 UTC ( #49867=note: print w/replies, xml ) Need Help??


in reply to Re: Remove the ^M Character from a Document
in thread Remove the ^M Character from a Document

The problem is that dos2unix removes ^M, while I often have to replace them by spaces (in the SGML exported by FrameMaker for example), so I end up doing:

perl -pi e's{\r}{ }g;'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2018-07-20 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (434 votes). Check out past polls.

    Notices?