Created
February 13, 2023 23:19
-
-
Save fogonthedowns/64b51103a2aed724d5120f98dd045f01 to your computer and use it in GitHub Desktop.
use awk to print the first column, then sort then count repeated lines
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
cat .file | awk -F "," '{ print $1 }' |sort| uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment