\grep -o . /path/to/file | sort | uniq -ic > /path/to/output-file
fgrep -o $1 foo.txt | wc -l
awk '{c+=gsub(s,s)}END{print c}' s='a' test.txt
awk '{c+=gsub(s,s)}END{print c}' s='$1' foo.txt
196
sed 's/\(.\)/\1\n/g' $1 | sort | uniq -c
I was wondering that too!!!Also, why do you have drum tab in your signature? What song is it for?