Re: Compare large files memory error

2001-08-08 Thread Will Crain
Perhaps the DOS FC (file compare) command will suffice for your application: Compares two files or sets of files and displays the differences between them FC [/A] [/C] [/L] [/LBn] [/N] [/T] [/U] [/W] [/] [drive1:] [path1]filename1 [drive2:][path2]filename2 FC /B [drive1:][path1]filename1 [

Re: Compare large files memory error

2001-08-07 Thread Mbedish
No, I am using Win NT. Regards, Mark Surrey,UK > Does your system have the 'cmp' program on it? IIRC this is a standard or > fairly standard Unix utility which does exactly what you want and you could > just call it from Perl... >Regards > >Mark Bedish >Surrey,UK > > >In a message dated Tue

Re: Compare large files memory error

2001-08-07 Thread Peter Scott
At 09:59 AM 8/7/01 -0400, [EMAIL PROTECTED] wrote: >Randal, > >Thanks for the file compare tip, it is incredibly fast! However it doesnt >tell me where the difference is. Can I get it to print out the first block >of data that is different? Does your system have the 'cmp' program on it? IIRC t

Re: Compare large files memory error

2001-08-07 Thread Jos I. Boumans
To: <[EMAIL PROTECTED]> Sent: Tuesday, August 07, 2001 1:35 PM Subject: Re: Compare large files memory error > Hello Mbedish, > > Tuesday, August 07, 2001, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Mac> Is there a better way to compare large files than thi

Re: Compare large files memory error

2001-08-07 Thread Maxim Berlin
Hello Mbedish, Tuesday, August 07, 2001, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Mac> Is there a better way to compare large files than this snippet, Mac> which runs out of memory if files > 30mb. Mac> It is also slow, about the same speed as comparing in a text editor! Mac> Thank you.

Compare large files memory error

2001-08-07 Thread Mbedish
Is there a better way to compare large files than this snippet, which runs out of memory if files > 30mb. It is also slow, about the same speed as comparing in a text editor! Thank you. __SNIP__ @file1 = (); @file2 = (); $are_equal = compare_arrays(\@file1, \@file2); if ($are_equal) { pr