Quote:
Originally Posted by suri.tyson
Output would look like this: ('20080920212141','net','Q05','DB','0','20080921064023','netbackup','netbackup')
Now i want to display only the time start & end time with return code "0" in the middle of the line as one of the format below.
2008/09/20/ 21:21:41
|
Pipe the last line through
sed:
Code:
sed 's/\([0-9][0-9][0-9][0-9]\)\([0-9][0-9]\)\([0-9][0-9]\)\([0-9][0-9]\)\([0-9][0-9]\)\([0-9][0-9]\)/\1\/\2\/\3 \4:\5:\6/'