X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How to increase the memory available to diff in cygwin 1.7? Date: Mon, 26 Oct 2009 17:36:31 -0400 Message-ID: <2175F853309F0C4F924EB2F995C38EED015ACD11@chipmail.chipwrights.com> In-Reply-To: <0105D5C1E0353146B1B222348B0411A20886DC6D7B@NIHMLBX02.nih.gov> References: <20091026172622 DOT GB790 AT ednor DOT casa DOT cgf DOT cx> <0105D5C1E0353146B1B222348B0411A20886DC6D7B AT NIHMLBX02 DOT nih DOT gov> From: "Don Porges" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Buchbinder, Barry (NIH/NIAID) [E] Sent: Monday, October 26, 2009 2:49 PM To: cygwin AT cygwin DOT 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,=20 >this should not require any significant memory usage. (In other words,=20 >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