ack3 icon indicating copy to clipboard operation
ack3 copied to clipboard

Don't Color `--output='$f'`

Open DabeDotCom opened this issue 3 years ago • 0 comments

The following seems inconsistent:

ack ^root: --output='Matched line $. of file $f' /etc/passwd /dev/null
/etc/passwd       <-- green
12:Matched line 12 of file /etc/passwd
^^              ^^         ^^^^^^^^^^^
yellow          white      green

This PR makes it so only the "metadata" is colored, not the actual --output

[NOTE: This came up while I was working on my forthcoming PR, which will add a --no-lineno option...]

DabeDotCom avatar Dec 04 '21 02:12 DabeDotCom