I have a text (space or pipe delimited) file that is sorted. I want insert a blank new line after each of group.
How do i get this?
Example:
a10|F0093903|87903830
a10|F0093904|87903820
a15|F0083913|87903840
a15|F0093933|87903240
a15|F0093976|87903820
a20|F0093903|87903840
a20|F0093903|87904820
a20|F0093903|87910830
a30|F0093903|87910830
I want to insert a new line after rows 2, 5, 8. The grouping here is based on first column.
Thanks in advance for help.
How do i get this?
Example:
a10|F0093903|87903830
a10|F0093904|87903820
a15|F0083913|87903840
a15|F0093933|87903240
a15|F0093976|87903820
a20|F0093903|87903840
a20|F0093903|87904820
a20|F0093903|87910830
a30|F0093903|87910830
I want to insert a new line after rows 2, 5, 8. The grouping here is based on first column.
Thanks in advance for help.