To remove the end line characters in a text file that has every line truncated at 80 chars…
perl -pi -e ‘s/(….+)\r\n/$1 /’ filename.txt
perl -pi -e ‘s/\n/\n\n/’ filename.txt
Then open in Write –> copy and paste into word.
elegant » being unusually effective and simple… do » the way.
To remove the end line characters in a text file that has every line truncated at 80 chars…
perl -pi -e ‘s/(….+)\r\n/$1 /’ filename.txt
perl -pi -e ‘s/\n/\n\n/’ filename.txt
Then open in Write –> copy and paste into word.