Handy Little Trick
Net Llama!
netllama
Mon May 17 11:55:56 PDT 2004
On 11/21/03 15:42, 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>.
Hrmmm, which version of grep does this? It doesn't seem to support that
switch in grep-2.4.2.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
7:40am up 1 day, 15:21, 1 user, load average: 0.07, 0.19, 0.45
More information about the Linux-users
mailing list