Merge pull request #10 from np/examples

Example of the perm template
This commit is contained in:
Johann Dreo 2013-03-24 16:05:02 -07:00
commit dc38703fd6

View file

@ -94,6 +94,9 @@ special characters that would be recognize by your shell.
* Color in green read permission, in bold red write and execution ones:
`ls -l | colout '(r)(w*)(x*)' green,red normal,bold`
* Color permissions with a predefined template:
`ls -l | colout -t perm`
* Color in green comments in colout sources:
`colout '.*(#.*)$' green normal < colout.py`