#!/usr/bin/perl while (<>) { s/
/

\n\n/g; print $_; }