$content =~ s/\012?\015|\015?\012/\n/gs;