Posted September 15, 2010 - 10:23 am
A reader recently asked whether it was possible on Unix systems to count how many times a particular character appears on each line of text. "On Unix", I answered, "not only is just about anything possible, but there are usually half a dozen ways to do it".