Hi,
I got a requirement to fetch data between two time stamps in a big log file and grep for a word in that particular time interval of data.
Here is my log looks like:
2012/04/08-14:35:56 Abcdefg
2012/04/08-14:35:56 Hijklmnophhoishfw
2012/04/08-14:35:56 fwhgiufhwiuhfoiwhfw
2012/04/08-14:55:56 wewuwcdiwhcih
2012/04/08-15:35:56 ihydoiwyhfroiwhflw
Now my requirement is to pull records from 2012/04/08-14:35:56 to 2012/04/08-14:55:56
if you see the above file there might be multiple lines with the same timestamp, I need the data to be copied over to another file from first occurance of:
2012/04/08-14:35:56 to 2012/04/08-14:55:56.
Could anyone please help me.
Thanks in advance
Siri