I have below test data and I have been able to get data for current date,
How can I compare time to get me data from 00:00:01
to 08:00:00
?
Test1 prog 02/20/2017 03:45:56 Success
Test2 prog 02/20/2017 05:21:38 Fail
Test3 prog 02/20/2017 09:35:36 Success
Test4 prog 02/19/2017 06:15:56 Fail
Test5 prog 02/18/2017 07:35:16 Active
Test6 prog 02/19/2017 03:45:56 Success
I did
a=`date +%m/%d/%Y`
awk -v a="$a" '$3==a' file
I have no thoughts on how do I break fourth column i.e. time to compare it for time range.