how to count categories in a csv command line

Solutions on MaxInterview for how to count categories in a csv command line by the best coders in the world

showing results for - "how to count categories in a csv command line"
Awa
26 Apr 2020
1cut -f1 -d, test.csv | uniq -c | tail -n +2 | while read line; do words=($line); echo ${words[1]} : ${words[0]}; done
2
similar questions