comparison index.html @ 19:ddc56395ee8b

update index.* documentation with usage text
author paulo@localhost
date Thu, 29 Mar 2012 00:06:10 -0700
parents d516b77d4916
children dfafe7582bd6
comparison
equal deleted inserted replaced
0:9c12a96ad060 1:75170fe164f8
8 <BODY> 8 <BODY>
9 9
10 <DIV CLASS="header" ID="header"> 10 <DIV CLASS="header" ID="header">
11 <H1>rcg: regex colored grep</H1> 11 <H1>rcg: regex colored grep</H1>
12 <H2>Paulo Ang (pbba13@gmail.com)</H2> 12 <H2>Paulo Ang (pbba13@gmail.com)</H2>
13 <H3>2010-12-13</H3> 13 <H3>2012-03-29</H3>
14 </DIV> 14 </DIV>
15 15
16 <DIV CLASS="body" ID="body"> 16 <DIV CLASS="body" ID="body">
17 <P> 17 <P>
18 <I>rcg</I> stands for <I>regex colored grep</I> and makes it easy to colorify your xterm-compatible terminal output. 18 <I>rcg</I> stands for <I>regex colored grep</I> and makes it easy to colorify your xterm-compatible terminal output.
21 The inspiration came from hack #75 from <I>Linux Server Hacks</I> by Rob Flickenger (O'Reilly). My version is written in C. 21 The inspiration came from hack #75 from <I>Linux Server Hacks</I> by Rob Flickenger (O'Reilly). My version is written in C.
22 </P> 22 </P>
23 <P> 23 <P>
24 Download the latest source code from <A HREF="/hg/rcg/rcg-1/rcg.c">here</A>. 24 Download the latest source code from <A HREF="/hg/rcg/rcg-1/rcg.c">here</A>.
25 </P> 25 </P>
26
27 <PRE>
28 Usage: rcg [options] &lt;PATTERN&gt;
29
30 Options:
31 -l, --line Highlight whole line
32 -B, --bold Bold
33 -b &lt;color&gt; Background color
34 -f &lt;color&gt; Foreground color
35
36 &lt;color&gt; can be one of the following:
37 black
38 red
39 green
40 brown
41 blue
42 magenta
43 cyan
44 white
45 default
46 </PRE>
47
26 </DIV> 48 </DIV>
27
28 <!-- html code generated by txt2tags 2.6 (http://txt2tags.org) --> 49 <!-- html code generated by txt2tags 2.6 (http://txt2tags.org) -->
29 <!-- cmdline: txt2tags -t html -\-css-sugar -\-style=index.css index.t2t --> 50 <!-- cmdline: txt2tags -t html -\-css-sugar -\-style=index.css index.t2t -->
30 </BODY></HTML> 51 </BODY></HTML>