[Fwd: Archive frozen for preparation of Ubuntu 9.10]

Vic Gedris vic-2vUEnoANFF8dnm+yROfE0A at public.gmane.org
Thu Oct 15 18:08:44 UTC 2009


On Thu, Oct 15, 2009 at 1:58 PM, D. Hugh Redelmeier <hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org> wrote:
> | From: Madison Kelly <linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org>
>
> | - At the command line, when you pipe something through grep, it highlights the
> | part of the string grep matched on. A small change, but soooo nice.
>
> How could it do that without violating normal UNIX abstractions??

This has been around for a long time.  Maybe Ubuntu is now just making
it a default by aliasing grep to "grep --color" or setting the
GREP_COLOR environment variable?  man grep

Not sure it violates any common usage.  When you pipe it, the color
goes away etc.

Definitely a nice feature...makes reading output easier.

-Vic
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list