Y
Hacker News
new
|
ask
|
show
|
jobs
by
codetrotter
930 days ago
Why?
1 comments
mongol
930 days ago
It appears to be so it can sort the lines. Not sure how useful that is however.
link
CGamesPlay
930 days ago
An ironic near-miss on the UNIX philosophy. There's a great UNIX tool that will handle sorting arbitrarily large files!
link
tgv
930 days ago
It will mess up array indices, though.
link
codetrotter
930 days ago
Wouldn’t “sort -n” work with indices?
link
tgv
930 days ago
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: ...
link
loeg
930 days ago
It shouldn't need to buffer the output to do that, right?
link
swsieber
930 days ago
Correct.
link