Re: Is awk the solution ?

From: Barry Finkel (b19141@ACHILLES.CTD.ANL.GOV)
Date: Mon Feb 03 2003 - 15:55:41 EST


On Fri, Jan 31, 2003 at 10:55:17AM -0500, Bruno Misseeuw wrote:
> Hi,
>
> I'm trying to figure out what the best method is to get information out of
> a log file (see copy paste below). I believe the awk command to be the
> solution, but I'm not sure what the best approach is, as I'm far from an
> awk expert. You could say that the lines below represent one record.

I would use awk only because I have not learned perl. I probably could
write an awk script in 5-10 minutes. Is the input (as you have
shown) one record, or is it multiple records? I cannot tell if one
long record has been split /wrapped during the mail process.
----------------------------------------------------------------------
Barry S. Finkel
Electronics and Computing Technologies Division
Argonne National Laboratory Phone: +1 (630) 252-7277
9700 South Cass Avenue Facsimile:+1 (630) 252-4601
Building 222, Room D209 Internet: BSFinkel@anl.gov
Argonne, IL 60439-4828 IBMMAIL: I1004994



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:33 EDT