dbuk has asked for the wisdom of the Perl Monks concerning the following question:
I have a tab delimted file containing the output from an HTTP proxy with data in the following format:
Specifically I need to parse the time portion to pick out any activity between the hours of 08:45:00 and 12:00:00 and then 02:00:00 and 17:00:00.Date time User ID Source IP YYYY-MM-DD HH:MM:SS text 123.456.789.123 Dest.IP Uri-Stem Ref. Bytes 123.456.789.123 URL NUMBER NUMBER
I just cant seem to get my head around either the RegEx to parse it or the Time function that might make it easier. Can anyone help?
Many Thanks.
DB
Many Thanks to all who answered. I now have a clue, still no brain though :)
DB
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: parsing time information from a TAB delimited array, kind of.
by davorg (Chancellor) on Sep 24, 2004 at 09:34 UTC | |
|
Re: parsing time information from a TAB delimited array, kind of.
by Prior Nacre V (Hermit) on Sep 24, 2004 at 09:37 UTC | |
|
Re: parsing time information from a TAB delimited array, kind of.
by Jasper (Chaplain) on Sep 24, 2004 at 09:15 UTC | |
|
Re: parsing time information from a TAB delimited array, kind of.
by TedPride (Priest) on Sep 24, 2004 at 09:26 UTC | |
|
Re: parsing time information from a TAB delimited array, kind of.
by Random_Walk (Prior) on Sep 24, 2004 at 10:24 UTC | |
|
Re: parsing time information from a TAB delimited array, kind of.
by steves (Curate) on Sep 24, 2004 at 12:24 UTC |