From: Johannes Schindelin Date: Mon, 26 May 2008 11:00:47 GMT Subject: Re: [PATCH] git-grep: add --color to highlight matches Message-ID: In-Reply-To: Hi, On Mon, 26 May 2008, Nguyen Thai Ngoc Duy wrote: > On Mon, May 26, 2008 at 5:16 PM, Johannes Schindelin > wrote: > > Besides, it would be a kludge at best to work _twice_ to find out the > > search terms, once in the external grep, and a second time in the coloring > > code. So I think it should not be done. > > I think if it's GNU grep, just passing it --color, it will grep and > colorize search terms in one turn. And what tells you that the called grep is GNU grep? Ciao, Dscho