On 2004-04-02, Antony Stone wrote:

>On Friday 02 April 2004 10:46 pm, Daniel J McDonald wrote:
>
>> grep FOUND clamd.log | cut -d \  -f 2 | sort | uniq -c
>
>grep FOUND clamd.log | cut -d \  -f 2 | sort | uniq -c | awk '{print $2,$1}'

grep FOUND clamd.log | awk '{print $8}' | sort | uniq -c | sort -k1nr,1

Who's next? ;-)

s.

-- 
(0>  Jakub Jankowski  [url]: s.atn.pl  "Nawet w Krainie Czarow
//\   [EMAIL PROTECTED]   [rlu]: 174516     latwiej jest spotkac
V_/_  [EMAIL PROTECTED]   [ekg]: 921514     Babe Jage niz Alicje"
Fingerprint: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to