I have some data in a txt file, the file is tab delimited, there are 3 columns, Name, Timestamp and Duration the data looks like this.
Refill Liquid 2010/08/21 12:59 00:06:00
Refill Liquid 2010/08/21 11:57 00:06:00
Refill Liquid Im 2010/08/21 11:57 00:06:00
Preassure fault 2010/08/21 11:57 00:06:00
Refill Liquid 2010/08/21 14:57 00:06:00
Refill Liquid Im 2010/08/21 14:57 00:06:00
Pressure Fault 2010/08/21 14:57 00:06:00
'2010/08/21 12:59' is actually 1 column.
i need the data to be broken up into groups based on timestamp, IF timestamp does not match add new blank line so they data will look like this
Refill Liquid 2010/08/21 12:59 00:06:00
Refill Liquid 2010/08/21 11:57 00:06:00
Refill Liquid Im 2010/08/21 11:57 00:06:00
Preassure fault 2010/08/21 11:57 00:06:00
Refill Liquid 2010/08/21 14:57 00:06:00
Refill Liquid Im 2010/08/21 14:57 00:06:00
Pressure Fault 2010/08/21 14:57 00:06:00
is this possible with AWK or SED
thanks
Refill Liquid 2010/08/21 12:59 00:06:00
Refill Liquid 2010/08/21 11:57 00:06:00
Refill Liquid Im 2010/08/21 11:57 00:06:00
Preassure fault 2010/08/21 11:57 00:06:00
Refill Liquid 2010/08/21 14:57 00:06:00
Refill Liquid Im 2010/08/21 14:57 00:06:00
Pressure Fault 2010/08/21 14:57 00:06:00
'2010/08/21 12:59' is actually 1 column.
i need the data to be broken up into groups based on timestamp, IF timestamp does not match add new blank line so they data will look like this
Refill Liquid 2010/08/21 12:59 00:06:00
Refill Liquid 2010/08/21 11:57 00:06:00
Refill Liquid Im 2010/08/21 11:57 00:06:00
Preassure fault 2010/08/21 11:57 00:06:00
Refill Liquid 2010/08/21 14:57 00:06:00
Refill Liquid Im 2010/08/21 14:57 00:06:00
Pressure Fault 2010/08/21 14:57 00:06:00
is this possible with AWK or SED
thanks