Append Second Row to First Row @ end in a file

Hi

I want to append line 2n to 2n-1 line where n=1...LastLine in my file.

eg:
Actual File:

 
Hello
Everyone
Welcome
TO Unix
I need
Your help

Required File:

 
 
HelloEveryone
WelcomeTO Unix
I needYour help

Please Help me with this.

(g)awk 'ORS=(NR%2==0) ?"\n" :" "' file

Without a space:

sed 'N;s/\n//' infile

Thank You very Much !!!:cool:
That worked for me...:smiley:

However What is the way to merge data of first two COLUMNS

eg

 
Hello| Everyone| This| is
UNIX| Forums| Are| Rocking
I| Love| UNIX| FORUMS

Required:

 
 
HelloEveryone| This| is 
UNIXForums| Are| Rocking
ILove| UNIX| FORUMS

Here '|' is a delimiter.

Something like:

awk '{sub("\| ","")}1' file

or

sed 's/| //' file

Thank You !!!:b:

UNIX FORUMS ROCKKKK:D