Y
Hacker News
new
|
ask
|
show
|
jobs
by
stephantul
33 days ago
You need readfile to do something with those tokens. Grep only gives you the matching lines, not the context.
1 comments
djaboss
33 days ago
`grep -C $NUM` ? ;)
link
stephantul
33 days ago
Even so. Take a look at the NDCG numbers for grep. It's not pretty
link
hparadiz
32 days ago
ripgrep exists though
link
stephantul
32 days ago
The comparison is with ripgrep, see the benchmarks.
link