From 5117fd92fc147b768fbb83fb1b17380ff1bf19ad Mon Sep 17 00:00:00 2001 From: nojhan Date: Sat, 31 Mar 2012 15:45:46 +0200 Subject: [PATCH] a complete man page --- README | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 59 insertions(+), 8 deletions(-) diff --git a/README b/README index 92cfdb9..8490a5c 100644 --- a/README +++ b/README @@ -1,10 +1,61 @@ -Color Up Arbitrary Command Ouput +colout(1) -- 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 +## SYNOPSIS + +`colout` [-h] [-e] PATTERN [COLOR] [STYLE] + + +## DESCRIPTION + +`colout` read lines of text stream on the standard input and output characters +matching a given regular expression in given and