sed = filename | sed 'N; s/^/ /; s/ *\(.\{6,\}\)\n/\1 /'
Running that command again this file:
aaa bbb ccc
returns:
1 aaa 2 bbb 3 ccc