frequency counter

I need to count one character at a time from input.txt. How do I read one character at a time under Linux / UNIX bash shell script?

{ 7 comments }