I have a file in the following format
11:36:08 hdisk7 3 0.0 7 104
hdisk20 9 0.0 14 143
hdisk6 0 0.0 0 26
hdisk3 1 0.0 2 35
hdisk1 0 0.0 1 29
hdisk12 0 0.0 0 7
11:37:09 hdisk7 .....
I would like the format to be
11:36:08 hdisk7 3 0.0 7 104
11:36:08 hdisk20 9 0.0 14 143
11:36:08 hdisk6 0 0.0 0 26
11:36:08 hdisk3 1 0.0 2 35
11:36:08 hdisk1 0 0.0 1 29
11:36:08 hdisk12 0 0.0 0 7
11:37:08 hdisk7 3 0.0 7 104
11:37:08 hdisk20 9 0.0 14 143
11:37:08 hdisk6 0 0.0 0 26
11:37:08 hdisk3 1 0.0 2 35
11:37:08 hdisk1 0 0.0 1 29
11:37:08 hdisk12 0 0.0 0 7
How would I go about this using awk?
--
| Mike Nixon
| Unix Admin
| ----------------------------
11:36:08 hdisk7 3 0.0 7 104
hdisk20 9 0.0 14 143
hdisk6 0 0.0 0 26
hdisk3 1 0.0 2 35
hdisk1 0 0.0 1 29
hdisk12 0 0.0 0 7
11:37:09 hdisk7 .....
I would like the format to be
11:36:08 hdisk7 3 0.0 7 104
11:36:08 hdisk20 9 0.0 14 143
11:36:08 hdisk6 0 0.0 0 26
11:36:08 hdisk3 1 0.0 2 35
11:36:08 hdisk1 0 0.0 1 29
11:36:08 hdisk12 0 0.0 0 7
11:37:08 hdisk7 3 0.0 7 104
11:37:08 hdisk20 9 0.0 14 143
11:37:08 hdisk6 0 0.0 0 26
11:37:08 hdisk3 1 0.0 2 35
11:37:08 hdisk1 0 0.0 1 29
11:37:08 hdisk12 0 0.0 0 7
How would I go about this using awk?
--
| Mike Nixon
| Unix Admin
| ----------------------------