How to increase the memory available to diff in cygwin 1.7?
Don Porges
dporges@chipwrights.com
Mon Oct 26 21:36:00 GMT 2009
-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Buchbinder, Barry (NIH/NIAID) [E]
Sent: Monday, October 26, 2009 2:49 PM
To: cygwin@cygwin.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.
- Barry
"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
cmp.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list