8 Apr
2007
8 Apr
'07
20:46
On Sun, 2007-04-08 at 20:49 +0200, James Hatridge wrote:
I'm not sure if this is a grep or awk question. I have a file with many records of 4 lines each in it. Like this:
1 2 3 4 1 2 3 4 etc, etc
I need the file to look like this:
1 tab 2 tab 3 tab 4 1 tab 2 tab 3 tab 4 etc etc....
I imagine sed is your friend. Replace the newline character with the tab character. Don't ask me the syntax though. Of course, that doesn't take care of the groups for three though... Hans -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org