Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2000 12:31:12 +1100
From:      Nick Slager <nicks@albury.net.au>
To:        Odhiambo Washington <wash@iconnect.co.ke>
Cc:        FBSD-ISP <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Processing details files
Message-ID:  <20001013123112.A88285@albury.net.au>
In-Reply-To: <20001012140434.A38247@poeza.iconnect.co.ke>; from wash@iconnect.co.ke on Thu, Oct 12, 2000 at 02:04:34PM %2B0300
References:  <20001012140434.A38247@poeza.iconnect.co.ke>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Odhiambo Washington (wash@iconnect.co.ke):

> Kindly advise how I can process such a file:
> 
> NB: Did I mention to you that I have no idea how to write a script? ;-)
> 
> Log starts on Tue Aug  1 00:01:15 2000.
> Date     Logout   Userid           IP Time  Term M# Sent(b)    Recieved(b)
> 08/06/20 11:09:23 caacall@mombasa  20 78.45 Idle 27 416836     437705
> 08/06/20 23:19:01 caacall@mombasa  20 701.3 Lost 27 6369328    5897091

awk and sed are your friends. Pick up a copy of 'Sed and Awk' (Oreilly).


Nick

-- 
 From a Sun Microsystems bug report (#4102680):
  "Workaround: don't pound on the mouse like a wild monkey."



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001013123112.A88285>