Speed of reformatting large file
[email protected] (Adam Witney) Tue, 31 Jul 2001 16:46:59 -0400
| Newsgroups | perl.macperl.anyperl |
|---|---|
| Message-ID | <B78C9181.3A92%[email protected]> |
Hi, I have a file which contains about 45000 lines of 50 characters each. I want to reformat it to contain 60 characters each. I can read the whole file in and remove the line endings and then print out lines of 60 characters, but this can take some time. And I may need to do this on bigger files still. Is there a quicker way? Thanks for any help Adam