in reply to Reading Text from file and reorganization

perl -pe 's/\n/" ".<>/e' <infile >outfile

-- Randal L. Schwartz, Perl hacker