Created
October 14, 2021 19:35
-
-
Save FranjoIM/2279227b1cdc5b6e512913256df85fff to your computer and use it in GitHub Desktop.
This gist takes a desired file, extracts desired column, and returns a list of unique values with counts.
This file contains 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
awk -F ',' '{print $<column_number>}' <file> | sort | uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment