Reputation: 822
I need to execute command from Perl script and print it's output, however command output is colored and Perl prints something like that:
ESC[33m sample text ESC[m
instead of coloring sample text
.
In other words: I want to know how to handle already colored input in Perl (not how to create colored output)
Upvotes: 3
Views: 303