in reply to text file problem


Here is one way to do it:
perl -l -0777 -pe 's/\n+(\D)/\1/g' file

Or if the lines shouldn't be joined across the blank lines then this:

perl -l -00 -pe 's/\n(\D)/\1/g' file

--
John.