No description
  • Python 87.4%
  • GDB 12.6%
Find a file
2012-03-31 14:40:46 +02:00
colout.py now supports coloring only the grouping parts of the regex, if any 2012-03-31 14:40:46 +02:00
README description in README 2012-03-31 14:39:20 +02:00

Color Up Arbitrary Command Ouput

A regular expression based formatter that color up an arbitrary text output stream.
Examples :
   cat colout.py | colout color red bold
   colout /home/[a-z]+ magenta < /etc/passwd
   ls -l | colout .\(r.-\){3} yellow standard
   make 2>&1 | colout [0-9]+ green | colout error
   make 2>&1 | colout [0-9]+ yellow standard | colout error | colout warning magenta | colout \(note\)\|\(#pragma\\s+\) green standard