Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Edit huge file

by LanX (Saint)
on Jun 19, 2013 at 16:50 UTC ( [id://1039803]=note: print w/replies, xml ) Need Help??


in reply to Edit huge file

see Re: use regular expressions across multiple lines from a very large input file for a discussion of the sliding window technique.

Mainly you need to read windows of a size guarantied bigger as the lines you wanna erase.

The windows in between shouldn't cost much if you read and write in bulk instead of line per line.

HTH! =)

Cheers Rolf

( addicted to the Perl Programming Language)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-03-29 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found