Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Remove the ^M Character from a Documentby mirod (Canon) |
on Jan 05, 2001 at 01:01 UTC ( [id://49867]=note: print w/replies, xml ) | Need Help?? |
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;'
In Section
Cool Uses for Perl
|
|