- or download this
#!perl
...
close $out_fh;
close $in_fh;
- or download this
$ cat -vet utf16_LE_prob.unix_dat utf16_LE_prob.dos_dat
Line 1$
...
Line 1^M$
Line 2^M$
^M$
- or download this
$ cat -vet utf16_LE_prob.unix_out
Line 1$
Line 2$
$
- or download this
$ cat -vet utf16_LE_prob.dos_out
Line 1^M$
Line 2^M$
^M$
- or download this
while (my $line = <$in_fh>) {
chomp $line,
print $out_fh $line, $/;
}
- or download this
$ cat -vet utf16_LE_prob.unix_out utf16_LE_prob.dos_out
Line 1$
...
Line 1^M$
Line 2^M$
^M$
- or download this
$ cat -vet utf16_LE_prob.unix_out utf16_LE_prob.dos_out
Line 1$
...
Line 1^M$
Line 2^M$
^M$
- or download this
$ cat -vet utf16_LE_prob.unix_out utf16_LE_prob.dos_out
Line 1$
...
Line 1^M$
Line 2^M$
^M$
- or download this
$ cat -vet utf16_LE_prob.unix_out utf16_LE_prob.dos_out
Line 1$
...
Line 1^M$
Line 2^M$
^M$