website icon indicating copy to clipboard operation
website copied to clipboard

`git grep -o` shows only the part of a line that matched

Open LucasLarson opened this issue 2 years ago • 1 comments

git grep -o (git grep --only-matching) has been able to print only the matched parts of a line since v2.19.0 released in 2018, but beyondgrep.com doesn’t say so.

LucasLarson avatar Mar 13 '23 18:03 LucasLarson

Thanks for this. There's lot a lot that is out of date on that chart, but this is a good step in the right direction.

petdance avatar Mar 13 '23 18:03 petdance