shivaa |
11-01-2012 09:26 AM |
Extract some part of a file with specified time period in it?
I have a log file, which contain following sample entries:
Quote:
10:45:01 This is for example
10:55:04 This is for example
11:00:00 This is for example
11:05:55 This is for example
11:06:05 This is for example
11:07:35 This is for example
11:08:45 This is for example
11:09:50 This is for example
11:11:58 This is for example
11:14:16 This is for example
11:35:34 This is for example
11:40:11 This is for example
11:58:16 This is for example
12:00:36 This is for example
12:01:04 This is for example
12:10:10 This is for example
12:16:35 This is for example
|
I want to extract only that part of this log file which contain entries made between 11:00 and 12:00 (i.e. for that one hour only, or for any specified period), then how can I do this?
|