Begin [test.sh] Script Run at Thu Mar 14 09:24:16 PDT 2013
tst_accounts: ws zip: WS_out_20130313.tar.gz dat: test_20130313.dat count: 63574 loaded: xx pre-merge: xx post-merge: xx timestamp: Thu Mar 14 09:30:42 PDT 2013
tst_accounts: ws zip: WS_out_20130313.tar.gz dat: s_20130313.dat count: 168217 loaded: xx pre-merge: xx post-merge: xx timestamp: Thu Mar 14 09:47:05 PDT 2013
tst_accounts: ws zip: WS_out_20130314.tar.gz dat: area_20130314.dat count: 19732 db table rows: xx timestamp: Thu Mar 14 11:59:28 PDT 2013
End [test.sh] Script Run at Thu Mar 14 11:59:44 PDT 2013
Begin [test.sh] Script Run at Thu Mar 15 09:00:00 PDT 2013
tst_accounts: ws zip: WS_out_20130313.tar.gz dat: test_20130313.dat count: 63574 loaded: xx pre-merge: xx post-merge: xx timestamp: Thu Mar 14 09:30:42 PDT 2013
tst_accounts: ws zip: WS_out_20130313.tar.gz dat: s_20130313.dat count: 168217 loaded: xx pre-merge: xx post-merge: xx timestamp: Thu Mar 14 09:47:05 PDT 2013
tst_accounts: ws zip: WS_out_20130314.tar.gz dat: area_20130314.dat count: 19732 db table rows: xx timestamp: Thu Mar 14 11:59:28 PDT 2013
End [test.sh] Script Run at Thu Mar 15 14:00:00 PDT 2013
i want the output as like below..
For every begin and end i need the count. count need to take the "count:" string followed by the number...
DATE START END DURATION # of RECORDS
14-Mar-2013 9:24:16 11:59:44 2:35:28 251523 =>63574+168217+19732
15-Mar-2013 9:00:00 14:00:00 4:00:00 251523 =>63574+168217+19732