Hacker News new | ask | show | jobs
by Someone 1621 days ago
Then, use

  jq —-compact-output '.' | head -10 | foo
That is also useful for grepping to filter on records of interest.

jq also has --stream for handling large inputs.