Skip to content

Instantly share code, notes, and snippets.

@TomonoriSoejima
Last active November 6, 2020 12:29
Show Gist options
  • Save TomonoriSoejima/fe71ed3f1c2bdbe1a8612e3714bc7b68 to your computer and use it in GitHub Desktop.
Save TomonoriSoejima/fe71ed3f1c2bdbe1a8612e3714bc7b68 to your computer and use it in GitHub Desktop.
random jq command.md

cat shards.json | jq -r '.[] | select(.index | contains("2019")) | .index, .store' | paste - - all.txt | sort -k 2 -nr | cat -n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment