symbol count in a text file [iptables log]

m.w.chang mwchang
Mon May 17 11:37:58 PDT 2004


further to my questino on an analysis tool for iptables log.

is there a unix textutils or alike that would count the number of unique 
symbols in a text file and produce a frequency distribition of them? It 
should be a common feature in most compilers. I could write one, but 
just wonder whether the wheel has been available already.

with that tool, I could just count the symbol DPT=9999.

Reminded me of the book I dare to read: The C Compiler. Is this a kind 
of lexical analysis?

-- 
   .~.    Swiftly. Silently. Invisibly. In Linux we trust.
  / v \   news://news.hkpcug.org
/( _ )\  http://www.linux-sxs.org
   ^ ^    2.4.19 9:45am up 14:14, 2 users, load average: 0.00, 0.00, 0.00



More information about the Linux-users mailing list