bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diff -b does not actually work with newlines


From: Denver Gingerich
Subject: Re: diff -b does not actually work with newlines
Date: Fri, 13 Jul 2007 15:54:38 -0400

On 7/13/07, David Kastrup <address@hidden> wrote:
Paul Eggert <address@hidden> writes:

> diff -b is working as specified.  It sounds like you want wdiff; you
> might try using that instead.

wdiff does not return suitable output or take suitable options.

Can you provide some reasons why the wdiff output is not suitable for
your purposes?  If the files are equal, disregarding whitespace, I'm
not sure why you would even want to use the output.  Instead I think
the return code would be more useful to you.  wdiff correctly returns
0 with your test case, indicating the files are the same, excluding
whitespace.

Which options is wdiff lacking that would make it easier to use for
your purposes?  We can always add them if they seem reasonable.

Denver




reply via email to

[Prev in Thread] Current Thread [Next in Thread]