annotate 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
rev   line source
paulo@18 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
paulo@18 2 <HTML>
paulo@18 3 <HEAD>
paulo@18 4 <META NAME="generator" CONTENT="http://txt2tags.org">
paulo@18 5 <LINK REL="stylesheet" TYPE="text/css" HREF="index.css">
paulo@18 6 <TITLE>rcg: regex colored grep</TITLE>
paulo@18 7 </HEAD>
paulo@18 8 <BODY>
paulo@18 9
paulo@18 10 <DIV CLASS="header" ID="header">
paulo@18 11 <H1>rcg: regex colored grep</H1>
paulo@18 12 <H2>Paulo Ang (pbba13@gmail.com)</H2>
paulo@19 13 <H3>2012-03-29</H3>
paulo@18 14 </DIV>
paulo@18 15
paulo@18 16 <DIV CLASS="body" ID="body">
paulo@18 17 <P>
paulo@18 18 <I>rcg</I> stands for <I>regex colored grep</I> and makes it easy to colorify your xterm-compatible terminal output.
paulo@18 19 </P>
paulo@18 20 <P>
paulo@18 21 The inspiration came from hack #75 from <I>Linux Server Hacks</I> by Rob Flickenger (O'Reilly). My version is written in C.
paulo@18 22 </P>
paulo@18 23 <P>
paulo@18 24 Download the latest source code from <A HREF="/hg/rcg/rcg-1/rcg.c">here</A>.
paulo@18 25 </P>
paulo@19 26
paulo@19 27 <PRE>
paulo@19 28 Usage: rcg [options] &lt;PATTERN&gt;
paulo@19 29
paulo@19 30 Options:
paulo@19 31 -l, --line Highlight whole line
paulo@19 32 -B, --bold Bold
paulo@19 33 -b &lt;color&gt; Background color
paulo@19 34 -f &lt;color&gt; Foreground color
paulo@19 35
paulo@19 36 &lt;color&gt; can be one of the following:
paulo@19 37 black
paulo@19 38 red
paulo@19 39 green
paulo@19 40 brown
paulo@19 41 blue
paulo@19 42 magenta
paulo@19 43 cyan
paulo@19 44 white
paulo@19 45 default
paulo@19 46 </PRE>
paulo@19 47
paulo@18 48 </DIV>
paulo@18 49 <!-- html code generated by txt2tags 2.6 (http://txt2tags.org) -->
paulo@18 50 <!-- cmdline: txt2tags -t html -\-css-sugar -\-style=index.css index.t2t -->
paulo@18 51 </BODY></HTML>