Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 82cde20534
Fetching contributors…

Cannot retrieve contributors at this time

executable file 8 lines (6 sloc) 0.26 kb
#!/bin/bash
# Usage: json2distribution file.json 4 10
# 1st param is input file
# 2nd param is what " split group is the email address
# 3rd param is top X domains/counts to grab
cut -d'"' -f $2 $1 | cut -d'@' -f 2 | sort | uniq -c | sort -rn | head -n $3
Jump to Line
Something went wrong with that request. Please try again.