Appears to give a total character count. I'm trying it on a smaller file that I know the character counts.

$ sed -e 's/[^A]//g' | wc -c

Thank you, I'll read up on sed.

grep(1) is line-oriented, so it's rather difficult to achieve what you
want with grep.

Reply via email to