view 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
line source
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <HTML>
3 <HEAD>
4 <META NAME="generator" CONTENT="http://txt2tags.org">
5 <LINK REL="stylesheet" TYPE="text/css" HREF="index.css">
6 <TITLE>rcg: regex colored grep</TITLE>
7 </HEAD>
8 <BODY>
10 <DIV CLASS="header" ID="header">
11 <H1>rcg: regex colored grep</H1>
12 <H2>Paulo Ang (pbba13@gmail.com)</H2>
13 <H3>2012-03-29</H3>
14 </DIV>
16 <DIV CLASS="body" ID="body">
17 <P>
18 <I>rcg</I> stands for <I>regex colored grep</I> and makes it easy to colorify your xterm-compatible terminal output.
19 </P>
20 <P>
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>
23 <P>
24 Download the latest source code from <A HREF="/hg/rcg/rcg-1/rcg.c">here</A>.
25 </P>
27 <PRE>
28 Usage: rcg [options] &lt;PATTERN&gt;
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
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>
48 </DIV>
49 <!-- html code generated by txt2tags 2.6 (http://txt2tags.org) -->
50 <!-- cmdline: txt2tags -t html -\-css-sugar -\-style=index.css index.t2t -->
51 </BODY></HTML>