delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/17/14:26:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 17 May 2002 20:07:54 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <186630776698.20020517200754@familiehaase.de>
To: Eric Blake <ebb9 AT email DOT byu DOT edu>
CC: cygwin AT cygwin DOT com
Subject: Re: problem with diffutils
In-Reply-To: <3CE53263.C09B6109@email.byu.edu>
References: <3CE53263 DOT C09B6109 AT email DOT byu DOT edu>
MIME-Version: 1.0

Eric schrieb:

> Is anyone else experiencing this? Today I updated to the new
> diffutils-2.8.1-1, and now I can't perform diff on files:

> $ echo line 1 > a.txt
> $ echo line 2 >> a.txt
> $ echo line 2 >> b.txt
> $ echo line 3 >> b.txt
> $ cat a.txt b.txt
> line 1
> line 2
> line 2
> line 3
> $ diff a.txt b.txt
> diff: a.txt: Invalid argument
> $ diff -- a.txt b.txt
> diff: a.txt: Invalid argument

> As the same version of diff is working fine on my Linux box, I suspect
> there is a cygwin-related bug.

This is the old version (diff):

$ diff a.txt b.txt
1d0
< line 1
2a2
> line 3

This is the latest version (diffutils):

$ diff a.txt b.txt
1d0
< line 1
2a2
> line 3


Gerrit
-- 
=^..^=


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019