Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Edit huge file

by davido (Cardinal)
on Jun 18, 2013 at 22:39 UTC ( [id://1039684]=note: print w/replies, xml ) Need Help??


in reply to Edit huge file

One point that needs to be made; while you *can* truncate at the end a file, you cannot just remove a few lines or bytes from the beginning of a file. To do that, the file has to be re-written. So while you could cheaply remove that line near the end, you will not remove the line at the beginning without going through the process of re-writing the entire file.


Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1039684]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 14:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found