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] [/nnnn] [drive1:]
[path1]filename1 [drive2:][path2]filename2
FC /B [drive1:][path1]filename1 [drive2:][path2]filename2
/A Displays only first and last lines for each set of
differences.
/B Performs a binary comparison.
/C Disregards the case of letters.
/L Compares files as ASCII text.
/LBn Sets the maximum consecutive mismatches to the
specified number of lines.
/N Displays the line numbers on an ASCII comparison.
/T Does not expand tabs to spaces.
/U Compare files as UNICODE text files.
/W Compresses white space (tabs and spaces) for
comparison.
/nnnn Specifies the number of consecutive lines that must
match after a mismatch.
Will
-- Original Message --
>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, 7 Aug 2001 13:36:50 British Summer Time,
>>[EMAIL PROTECTED] (Randal L. Schwartz) writes:
>>
>> > >>>>> "Jos" == Jos I Boumans <[EMAIL PROTECTED]> writes:
>> >
>> > Jos> if you're just interested in *EXACTLY* the same files, use MD5
>
>> (get it from
>> > Jos> search.cpan.org)
>> > Jos> even one BIT of difference (literally) will result in a different
>
>> checksum
>> > Jos> thorough and fast
>> >
>> > MD5 is useful when you don't want to use the original data to compare
>> > (or no longer have access to it). But if you've got both big files
>> > sitting in front of you, it's a waste to compute md5(one) == md5(two).
>> > Instead, just get File::Compare from the CPAN, which does a very
>> > efficient comparison: first length, then big-block by big-block
>> > equality.
>> >
>> > print "Just another Perl hacker,";
>> >
>> > --
>> > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503
777
>
>0095
>> > <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
>> > Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
>> > See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
>
>> training!
>> >
>> > --
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>--
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>--
>Peter Scott
>Pacific Systems Design Technologies
>http://www.perldebugged.com
>
>
>--
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>--
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Visit iWon.com - the Internet's largest guaranteed cash giveaway! Click
here now for your "Thank You" gift:
http://www.iwon.com/giftcenter/0,2612,,00.html?t_id=20157
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]