in reply to Re: optimize the code
in thread optimize the code
In input file,4th column was GMT time. So this was converted to PST time, and if the date matches, 3 day ago date format in the 4th coulmn, only then it was written to the output file66.249.65.27 - - [21/Jun/2010:08:00:00 +0000] GET - + - - 66.250.65.27 - - [21/Jun/2010:08:00:00 +0000] GET - + - - 66.244.65.27 - - [21/Jun/2010:08:00:00 +0000] GET - + - -
|
|---|