This should be an easy one for you awk/printf experts.
I have a text file with hundreds of short lines (all less than 25 characters). I'd like to produce a file consisting of 3 columns, primarily just to make this better to fax to a Client.
Here's what I have:
Nov 28 19:45 bob
Nov 28 21:18 fred
Oct 3 2003 kevin
Aug 7 1998 skippy
Aug 7 1998 bruce
(etc)
Here's what I'd like:
Nov 28 19:45 bob Nov 28 21:18 fred Oct 3 2003 kevin
Aug 7 1998 skippy Aug 7 1998 bruce
I know how to join the lines together, but I don't know how to tell it do join the lines in groups of 3.
Thanks in advance.
I have a text file with hundreds of short lines (all less than 25 characters). I'd like to produce a file consisting of 3 columns, primarily just to make this better to fax to a Client.
Here's what I have:
Nov 28 19:45 bob
Nov 28 21:18 fred
Oct 3 2003 kevin
Aug 7 1998 skippy
Aug 7 1998 bruce
(etc)
Here's what I'd like:
Nov 28 19:45 bob Nov 28 21:18 fred Oct 3 2003 kevin
Aug 7 1998 skippy Aug 7 1998 bruce
I know how to join the lines together, but I don't know how to tell it do join the lines in groups of 3.
Thanks in advance.