GNU bug report logs - #62745
Color only capture group

Previous Next

Package: grep;

Reported by: Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 10 Apr 2023 06:57:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dan Jacobson <jidanni <at> jidanni.org>
To: bug-grep <at> gnu.org
Subject: Color only capture group
Date: Mon, 10 Apr 2023 14:55:05 +0800
I only want the c colored when doing:
$ echo abcedc|grep --color 'b\(c\)'
I read (info "(grep) Environment Variables")
but it apparently doesn't have much to do with what I want.
Therefore I hereby propose it as a new feature.
grep (GNU grep) 3.8




This bug report was last modified 2 years and 67 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.