in reply to Re^3: dos2ux shows cannot open file if it is greater than 2GB size
in thread dos2ux shows cannot open file if it is greater than 2GB size
To speed things up, I'd read more at a time.
But yeah, it will take time to copy 7GB.perl -pe'BEGIN { $/ = \(1024*1024); } s/\r//g;' file.in >file.out
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: dos2ux shows cannot open file if it is greater than 2GB size
by Tux (Canon) on Mar 15, 2013 at 07:34 UTC | |
by ikegami (Patriarch) on Mar 16, 2013 at 18:43 UTC | |
by shan_emails (Beadle) on Mar 19, 2013 at 14:36 UTC | |
by Anonymous Monk on Mar 19, 2013 at 15:15 UTC |
In Section
Seekers of Perl Wisdom