Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Remove the ^M Character from a Document

by umasuresh (Hermit)
on Oct 04, 2010 at 16:00 UTC ( [id://863363]=note: print w/replies, xml ) Need Help??


in reply to Remove the ^M Character from a Document

Along the same lines:
I often get these strange characters ^[[00m when I save the list command into an output file (  ls *.txt > list) which is visible only in vi.
I am aware that these characters appear due to  alias ls='ls --color' option in my .bashrc file. I don't want to unalias ls in each window.
Is there a similar solution for fixing this?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2026-05-13 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.