- or download this
this is the first paragraph.
It has three lines.
...
one line running "perl -p00 -le 's/\n/ /gs;s/\s+/ /g;'"
on that file, with multiple blanks condensed into one.
- or download this
perl -p00 -le 's/\n/ /gs;s/\s+/ /g;' text
- or download this
perl -p00 -i.bak -le 's/\n/ /gs;s/\s+/ /g;' text