Re: diff says memory exhausted need help with perl

2008-03-29 Thread Rob Dixon
[EMAIL PROTECTED] wrote: > On Mar 28, 6:54 pm, [EMAIL PROTECTED] (Lawrence Statton) wrote: >> If you're using Gnu diff (i.e. the diff that comes with most Linuces) --speed-large-files might help you, without having to jump through a perl hoop. Problems: [snip] > 3) The heiristic approach is

Re: diff says memory exhausted need help with perl

2008-03-29 Thread Rob Dixon
[EMAIL PROTECTED] wrote: > On Mar 28, 6:54 pm, [EMAIL PROTECTED] (Lawrence Statton) wrote: If you're using Gnu diff (i.e. the diff that comes with most Linuces) --speed-large-files might help you, without having to jump through a perl hoop. --L Problems: 1) it runs out of memory 8Gig of files

Re: diff says memory exhausted need help with perl

2008-03-29 Thread tc314
On Mar 28, 6:54 pm, [EMAIL PROTECTED] (Lawrence Statton) wrote: > If you're using Gnu diff (i.e. the diff that comes with most Linuces) > --speed-large-files might help you, without having to jump through a > perl hoop. > > --L Problems: 1) it runs out of memory 8Gig of files with 2GB RAM 2) it as

Re: diff says memory exhausted need help with perl

2008-03-28 Thread John W. Krahn
[EMAIL PROTECTED] wrote: I've got two similar large files with one word per line and they're sorted. Each file has a few words not in the other. I typically identify the unique words in the file using diff,grep,cut. When the files are too big (2Gig) diff dies with "memory exhausted". I want to s

Re: diff says memory exhausted need help with perl

2008-03-28 Thread Lawrence Statton
If you're using Gnu diff (i.e. the diff that comes with most Linuces) --speed-large-files might help you, without having to jump through a perl hoop. --L -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

diff says memory exhausted need help with perl

2008-03-28 Thread tc314
I've got two similar large files with one word per line and they're sorted. Each file has a few words not in the other. I typically identify the unique words in the file using diff,grep,cut. When the files are too big (2Gig) diff dies with "memory exhausted". I want to search for the unique words