Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@geraldstanje
Created December 30, 2016 19:21
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 geraldstanje/0134ac365f8b414bf2ef9e0efca150e5 to your computer and use it in GitHub Desktop.
Save geraldstanje/0134ac365f8b414bf2ef9e0efca150e5 to your computer and use it in GitHub Desktop.
bash
cut -f1,4 -d',' freq_1483051128.csv | sort | awk -F',' '{a[$1]+=$2}END{for (i in a){print i,a[i]}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment