Hacker News
new
past
comments
ask
show
jobs
points
by
ludicrousdispla
12 hours ago
|
comments
by
stephantul
11 hours ago
|
[-]
You need readfile to do something with those tokens. Grep only gives you the matching lines, not the context.
reply
by
djaboss
11 hours ago
|
parent
|
[-]
`grep -C $NUM` ? ;)
reply
by
stephantul
11 hours ago
|
parent
|
[-]
Even so. Take a look at the NDCG numbers for grep. It's not pretty
reply
by
hparadiz
3 hours ago
|
parent
|
[-]
ripgrep exists though
reply
by
stephantul
2 hours ago
|
parent
|
[-]
The comparison is with ripgrep, see the benchmarks.
reply