while (<>) {
s/\\\\/\\/g;
s/\\'/'/g;
s/(\S)\n$/\1/g;
print;
}
