Handy Little Trick

Myles Green myles-green
Mon May 17 11:55:55 PDT 2004


On Fri, Nov 21, 2003 at 06:42:59PM -0500, someone claiming to be Kurt 
Wall wrote:
> This is *so* cool:
> 
> Highlight occurences of a word in a file:
> 
> $ grep --color <word> <file>
> 
> This will highlight each appearance of <word> in <file>.
> 
> Kurt
> -- 
> "Text processing has made it possible to right-justify any idea, even
> one which cannot be justified on any other grounds."
> 		-- J. Finnegan, USC.

schweet!

You've just *got* to love Linux (and the Gnu utilities...), you can use 
it (them) for years and still discover kewl new things to put a smile on 
your face. (^8

Myles

-- 
~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~
+        Myles Green  <myles-green at shaw.ca>, Calgary, AB, Canada        +
~         Slackware-9.1 + CLI + Mutt-1.4.1i + Lynx|Links|eLinks         ~
+            With all that power, who needs a bloated GUI ??            +
~        Alberta Mirror for Linux-SxS.Org: http://linux-sxs.org/        ~
+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20031121/7358f079/attachment.pgp


More information about the Linux-users mailing list