2 ms·
If you use ripgrep, -o will only show the matching part of the line. It also has a --max-filesize flag.
by anamexis 5y ago
If you use ripgrep, -o will only show the matching part of the line. It also has a --max-filesize flag.
- benjaminjackman 5y agoThank you! I just tried it and --max-filesize worked great, ... -o also worked however it would be nice if -o showed a bit of context around the match (maybe 50 chars or so before and after), still useful all the same. Thanks again.