Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by ludicrousdispla

13 hours ago

grep doesn't need tokens, so what is 98% fewer than zero?

5 comments

ludicrousdispla

Reply

stephantul  13 hours ago

You need readfile to do something with those tokens. Grep only gives you the matching lines, not the context.

  • djaboss  12 hours ago

    `grep -C $NUM` ? ;)

    • stephantul  12 hours ago

      Even so. Take a look at the NDCG numbers for grep. It's not pretty

      2 replies →

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities