Re: OFF-TOPIC: Help on script

From: Peter C. Norton <spacey@dont-contact.us>
Date: Mon, 5 Oct 1998 02:33:33 -0400

On Mon, Oct 05, 1998 at 02:18:44AM -0400, Peter C. Norton wrote:
> On Mon, Oct 05, 1998 at 04:06:53PM +1000, Nottingham, Mark (Australia) wrote:
> > Oops, the script I supplied uses the alpha version of the WebLog
> > classes, which are in the directory
> >
> > http://www.pobox.com/~mnot/script/python/
> >
> > cheers
>
> Naaaah, that's too long. You can do what's needed much less shell.
>
> cat log | grep -v 'TCP_DENIED' | awk '{print $7}' | cut -d'/' -f3 | \
> sort | uniq > outfile

Oops, make that

cat log | grep -v 'TCP_DENIED' | awk '{print $7}' | cut -d'/' -f3 | \
  rev | cut -d'.' -f1-2 | sort | uniq | rev > outfile

Sorry for the mistake.

-- 
Peter C. Norton                      Time comes into it. / Say it.  Say it.
spacey@pobox.com                   | The Universe is made of stories,  
http://spacey.dyn.ml.org           | not of atoms. 
                                   |
                                     Muriel Rukeyser "The Speed of Darknesss"
Received on Sun Oct 04 1998 - 23:34:34 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:20 MST