Posted by: M$Hacks March 12, 2009
unix help plz
Login in to Rate this Post:     0       ?        
#!/bin/sed -nf
H #defining a pattern space to hold something
$ { #go through all the lines in file, try putting values 4..it will parse through 4 lines only etc
x #swap pattern and hold space
s/\n//g #search new line character and replace with nothing, ie remove new line character
p #print pattern space
}

Hope it helps.
Read Full Discussion Thread for this article