HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by codetrotter | Hacker News Reader
Parent
Full thread
codetrotter
·
Why?
View on HN
mongol
·
It appears to be so it can sort the lines. Not sure how useful that is however.
CGamesPlay
·
An ironic near-miss on the UNIX philosophy. There's a great UNIX tool that will handle sorting arbitrarily large files!
tgv
·
It will mess up array indices, though.
codetrotter
·
Wouldn’t “sort -n” work with indices?
tgv
·
It's tricky to specify the sorting criterium: you have to indicate the column. Gron's output looks like this:
a.b[0].c.d[0]: ... a.b[0].e[0].f: ...
loeg
·
It shouldn't need to buffer the output to do that, right?
swsieber
·
Correct.
Reply on news.ycombinator.com