open(my $in, '<', $ARGV[0]) or die $!; unlink($ARGV[0]); open(my $out, '>', $ARGV[0]) or die $!; while (<$in>) { s/\r\n/\n/; print($out $_); }
In reply to Re^2: dos2ux shows cannot open file if it is greater than 2GB size
by ikegami
in thread dos2ux shows cannot open file if it is greater than 2GB size
by shan_emails
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |