go ahead... be a heretic | |
PerlMonks |
Capturing ANSI color escape codes with backticksby Mr_Micawber (Beadle) |
on Jan 08, 2010 at 17:28 UTC ( [id://816367]=perlquestion: print w/replies, xml ) | Need Help?? |
Mr_Micawber has asked for the wisdom of the Perl Monks concerning the following question:
I'm playing with a greppish directory listing script, and I want to retain the colors that my normal linux shell uses for ls. I know about Term::ANSIColor, but how do I capture the raw output from the backtick operator, including the escape codes?
Back to
Seekers of Perl Wisdom
|
|