Hi!
I have a file with:
a bc ef
b rv
bcef gd
brne du
hud rdv
cjeu miu
-------------------------------------------------------
And I want in output :
a bc ef:b rv
bcef gd:brne du
hud rdv:cjeu miu
Line1:Line2
Line3:Line4
Line5:Line6
..........
Could you help me please???
... No sorry but the result is:
a bc ef:b rv
:
:bcef gd
brne du:
hud rdv:cjeu miu
It don't work... Have you an other solution please?
It joins every other line. Line 1 is joined with line 2. Line 3 is joined with line 4. And so on. I tested it and it works for me. Sorry it doesn't work for you. 
??? I am surprised...
I have try on HP, linux, and AIX, I have always the same result...
Thanks you for help. I try to find a other solution
I've only tested this under Linux...
#!/usr/bin/sed -nf
/^$/d
N
s/\n/:/g
p
Then invoke with
foo.sed file_name
I get the output
a bc ef:b rv
bcef gd:brne du
hud rdv:cjeu miu
Any good?
Cheers
ZB
It is great!!! Thinks you very much!