Bash script to find the frequency of every letter in a file
My solution using grep, sort and uniq. grep -o . file | sort | uniq -c Ignore case: grep -o . file | sort -f | uniq -ic
My solution using grep, sort and uniq. grep -o . file | sort | uniq -c Ignore case: grep -o . file | sort -f | uniq -ic