perl -lpe'BEGIN { $/ = "\n " } $\ = y/\n// ? $/ : $"' [download]
In reply to Re: replace \n with space to join indented lines by jwkrahn in thread replace \n with space to join indented lines by olivier