1
1
I have one line with lot of entries among which is also time.
('DEFAULT',17,NULL,'2014-07-14 10:30:00','Something','2014-07-14 06:30:00',1),('DEFAULT',26,NULL,'2014-07-14 12:00:00','Something2,'2014-07-14 11:00:00',1),...
I would like to increment each time by few hours. in 24 h format. For example 10:30:00
would become 15:30:00
.
What is the best universal tool for this job? I am thinking in terms of:
system utilities like
awk
,sed
..& whatever else I do not knowvim
scripting languages like
bash
or python`
What would be the canonical way to do it?
Whatever you are comfortable with :) I for example would use perl beucase I'm familiar with it and has really powerfull regexp – Dan – 2015-05-23T07:05:27.950