Skip to content

Instantly share code, notes, and snippets.

@jah2488
Created May 7, 2018 19:30
Show Gist options
  • Save jah2488/add7d97e36b2c59d5284c4174a38a47c to your computer and use it in GitHub Desktop.
Save jah2488/add7d97e36b2c59d5284c4174a38a47c to your computer and use it in GitHub Desktop.
find * -name package.json | xargs grep '"license[s]*"' -A 3 | grep -o ': ".*"' | xargs ruby -e "puts ARGV.reduce({}) { |acc, n| acc[n] = (acc[n] || 0) + 1; acc }"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment