in reply to Add a line to the end of a file
Append operations don't read the file into memory. They just set the write pointer to the current end of the file.
Some OSes and file systems have problems reading files above 2 or 4 GB (usually 2). This is the limit of 32-bit file pointers. To get bigger files, you need a system which supports 64-bit file pointers, which puts the size limit many magnitudes larger than any currently available storage device can hold. Win2k and Linux >=2.4.0 supports this. I can't help you about other systems. You'll also need a version of perl compiled to support 64-bit file pointers, but chances are that if your system supports them already, so is your current perl version.
----
: () { :|:& };:
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Add a line to the end of a file
by waswas-fng (Curate) on Feb 17, 2004 at 22:35 UTC | |
by DrHyde (Prior) on Feb 18, 2004 at 10:12 UTC |