Re: symbol count in a text file [iptables log]

2002-09-22 Thread David A. Bandel
On Sat, 21 Sep 2002 23:43:23 +0800 begin M.W. Chang [EMAIL PROTECTED] spewed forth: I could figure this one out. but how to list all possible combinations of DPT= in a text file? There should be an existing shell util that will do something like this: select distinct DPT=* from

Re: symbol count in a text file [iptables log]

2002-09-22 Thread m.w.chang
no nono... this wf doesn't count numeric strings... wf scans a text file or standard input and counts the frequency of words through the whole text, sending resulting output to stdout showing each word and corresponding frequency. I found it with keywords count word, in page 3 of the

Re: symbol count in a text file [iptables log]

2002-09-21 Thread M.W. Chang
I could figure this one out. but how to list all possible combinations of DPT= in a text file? There should be an existing shell util that will do something like this: select distinct DPT=* from textfile then I need to direct each combination into a file and apply wc on it to produce a

Re: symbol count in a text file [iptables log]

2002-09-21 Thread Andrew Mathews
M.W. Chang wrote: I could figure this one out. but how to list all possible combinations of DPT= in a text file? There should be an existing shell util that will do something like this: select distinct DPT=* from textfile then I need to direct each combination into a file and apply

symbol count in a text file [iptables log]

2002-09-20 Thread m.w.chang
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

Re: symbol count in a text file [iptables log]

2002-09-20 Thread David A. Bandel
On Sat, 21 Sep 2002 10:09:40 +0800 begin m.w.chang [EMAIL PROTECTED] spewed forth: 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