Did you see and consider my reply (though its based upon u67129's code)?
In reply to Re^2: Problem in counting the occurrences of a string in a text file
by linuxer
in thread Problem in counting the occurrences of a string in a text file
by findtheriver
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |