bug-global
[Top][All Lists]
Advanced

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

Re: [feature request] Colouring matches in --result=grep outputs


From: Shigio YAMAGUCHI
Subject: Re: [feature request] Colouring matches in --result=grep outputs
Date: Fri, 21 Mar 2014 11:21:12 +0900

Hi all,
I have committed a piece of code which realizes the coloring function.
Please try the following command line:

$ global --color=always -x main

It supports the followings:
o --color option which similar to grep(1)
o GREP_COLOR environment variable

The --color option is effective to the following commands:
        <default command>
        -f command
        -g command
        -I command
        -P command

These are not supported this time:
o -C, --colour option
o GREP_COLORS environment variable

The followings are considered to be another matters.
o Options like -E(--extended-regexp), -N(--project), -m(--match-case)
o GLOBAL_OPTIONS (GTAGS_OPTIONS, HTAGS_OPTIONS)
They need to be discussed, respectively. I will write RFCs
for them.

I myself wrote the code. In fact, I couldn't make full use of Jason's
code by my procedural defect (I apologized to him). However, his code
was a big help, and showed the way to which I should go. I believe that
I have realized a thing which is almost the same function as his patch.
Thank you Jason!

Welcome to bug report.

--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

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