Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 229 Bytes

sort.md

File metadata and controls

9 lines (6 loc) · 229 Bytes

jline-sort

Sorts a file where each line is a JSON object by the provided key:

cat data | jline-sort foo.bar # sorts by foo.bar
cat data | jline-sort 'foo["key with spaces"]'
cat data | jline-sort '[2]'