Created
August 16, 2020 10:31
-
-
Save palawer/6e795637ace67729a0826aaa30185281 to your computer and use it in GitHub Desktop.
Group by a column and count
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $2 column number (starts at 1) | |
awk -F ',' '{print $2}' file.csv | sort | uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment