True, but ... from OP:
The output does not need to be as specific as I have put, as long as it gives the column number and how many occurrences of each character.
I prefer to simply demonstrate general concepts and not distract with needless or potentially implied minutia. Obviously it's easy enough for the OP to add 2 to the column if that's what he desires, along with adding sorting or pretty printing.
*Shrug* Good thing I'm not a perfectionist ;)
In reply to Re^3: Count # of occurrences per column
by wind
in thread Count # of occurrences per column
by Renyulb28
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |