Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-Id: <3.0.5.32.20021018221612.00817100@h00207811519c.ne.client2.attbi.com> X-Sender: pierre AT h00207811519c DOT ne DOT client2 DOT attbi DOT com Date: Fri, 18 Oct 2002 22:16:12 -0400 To: cygwin AT cygwin DOT com, cbfalconer AT worldnet DOT att DOT net From: "Pierre A. Humblet" Subject: Re: vs and use of diff In-Reply-To: References: <3DB0B48A DOT CCCE6B8A AT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" On Fri, 18 Oct 2002, CBFalconer wrote: > I have some makefiles used with DJGPP which perform regression and > portability tests on my software. They check things by doing a > run and then executing "diff -q" between the captured run and a > saved version. > > They don't work. The saved versions have line endings, and > the newly created files have endings. I thought that diff > ignored these differences as long as the files were not binary (no > s). The -a option makes no difference. I don't want to > revise the saved files because that would foul their utility > elsewhere. diff --help --strip-trailing-cr Strip trailing carriage return on input. Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/