My offering to remove the continuation lines into the correct format
open (IN,"in.txt") or die "$!";
open (OUT,">out.txt") or die "$!";
$_=<IN>;
chomp;
print OUT ;
while (<IN>){
chomp;
if (m!\\(.*)!){
print OUT (" ".$1);
} else {
print OUT "\n$_";
}
}
print OUT "\n";