Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
anamexis
· 5y ago · 0 comments
If you use ripgrep, -o will only show the matching part of the line. It also has a --max-filesize flag.
Comments
[–]
benjaminjackman
5y ago
Thank 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.