3 ms·
Yes, I've seen a bunch of shell and perl utilities that use this approach. You can't use them when you want 256 colors. You can check http://cbouvi.free.fr/down
by crazydiamond 15y ago
Yes, I've seen a bunch of shell and perl utilities that use this approach. You can't use them when you want 256 colors.
You can check http://cbouvi.free.fr/download/colorize/ http://cbouvi.free.fr/download/colorize/ and http://code.google.com/p/ansi-color/ http://code.google.com/p/ansi-color/.
Ruby has highline and colored, and perhaps some more too.
- kenneth_reitz 15y agoThere's an experimental branch with 256 support. Fallback isn't simple though.