bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [grep-2.5.1-29] [PATCH] --initial-tab and 3 newly colorized items


From: Charles Levert
Subject: Re: [grep-2.5.1-29] [PATCH] --initial-tab and 3 newly colorized items
Date: Fri, 14 Jan 2005 09:26:16 -0500
User-agent: Mutt/1.4.1i

* On Friday 2005-01-14 at 04:06:49 -0500, Charles Levert wrote:
> 
> I have added the following two features:
> 
>       * A "-T" / "--initial-tab" option (both invocations are consistent
>         with GNU diff).  This will make sure that the first character
>         of a content line is on a tab stop.  The last separator (":")
>         is positioned immediately before that so it remains possible
>         to tell whitespace at the beginning of the content line from
>         whitespace used for padding.  I believe it would be pointless
>         overkill to try to follow the current column of output after
>         printing a filename in Unicode; my implementation does something
>         really simple that works.
> 
>       * Three other colors when "--color" is in effect.  They are
>         for the filename, the numbers (line number and octet offset),
>         and the separator (":").  These cannot be customized by the
>         user yet, but each is put in its own variable so everything is
>         in place for them to be.  (I didn't want to add a bunch of new
>         environment variables for that, and I didn't want to venture
>         a new mechanism for specifying colors, possibly by extending
>         the current environment variable in a backward compatible way.
>         This can be done later if the patch is accepted and popular,
>         and if users actually request it.)

I have found out about the project on Savannah, so I created a patch
there (with one updated feature) for the latest CVS version.  Please use
that instead.

  <https://savannah.gnu.org/patch/index.php?func=detailitem&item_id=3644>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]