This is the mail archive of the
mailing list for the Cygwin project.
RE: How to increase the memory available to diff in cygwin 1.7?
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf
Of Buchbinder, Barry (NIH/NIAID) [E]
Sent: Monday, October 26, 2009 2:49 PM
To: email@example.com; Kenneth Chiu
Subject: RE: How to increase the memory available to diff in cygwin 1.7?
Kenneth Chiu sent the following at Monday, October 26, 2009 2:29 PM
>Considering that I only want to know whether or not two files differ,
>this should not require any significant memory usage. (In other words,
>don't use mmap().)
If you only want to know whether or not they are identical, use cmp.
"Get the right tool for the right job."
According to his original post, Kenneth was using
$ diff -rq B B2 >diff.out
The -q is the "just tell me if they're the same" option; given that it
exists at all, it is a little odd that it doesn't do the equivalent of a
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple