Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How to process two files of over a million lines for changes

by jepri (Parson)
on May 22, 2004 at 22:43 UTC ( [id://355646]=note: print w/replies, xml ) Need Help??


in reply to How to process two files of over a million lines for changes

Use the Unix program "diff". It's designed for this sort of thing.

It does depend on the files being in the same order each time, so you might have to sort them first.

Fortunately there is a Unix command called "sort" which can probably do that for you.

____________________
Jeremy
I didn't believe in evil until I dated it.

  • Comment on Re: How to process two files of over a million lines for changes

Log In?
Username:
Password:

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

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

    No recent polls found