view index.t2t @ 19:ddc56395ee8b

update index.* documentation with usage text
author paulo@localhost
date Thu, 29 Mar 2012 00:06:10 -0700
parents d516b77d4916
children
line source
1 rcg: regex colored grep
2 Paulo Ang (pbba13@gmail.com)
3 2012-03-29
6 //rcg// stands for //regex colored grep// and makes it easy to colorify your xterm-compatible terminal output.
8 The inspiration came from hack #75 from //Linux Server Hacks// by Rob Flickenger (O'Reilly). My version is written in C.
10 Download the latest source code from [here /hg/rcg/rcg-1/rcg.c].
12 ```
13 Usage: rcg [options] <PATTERN>
15 Options:
16 -l, --line Highlight whole line
17 -B, --bold Bold
18 -b <color> Background color
19 -f <color> Foreground color
21 <color> can be one of the following:
22 black
23 red
24 green
25 brown
26 blue
27 magenta
28 cyan
29 white
30 default
31 ```