Skip to content

Instantly share code, notes, and snippets.

@kokel
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kokel/ef33e0de301f19a09113 to your computer and use it in GitHub Desktop.
Save kokel/ef33e0de301f19a09113 to your computer and use it in GitHub Desktop.
ffmap-dev: purge contact infos
jq '. as $a | .nodes | with_entries(del(.value.nodeinfo.owner)) as $b | $a | .nodes = $b'
jq '.nodes = (.nodes | with_entries(del(.value.nodeinfo.owner)))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment