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

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

Re: [PATCH] new option --ignore-trailing-space-change for diff


From: Paul Eggert
Subject: Re: [PATCH] new option --ignore-trailing-space-change for diff
Date: Thu, 01 Jul 2004 11:27:47 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

"Eric Backus" <address@hidden> writes:

> When I'm done, and go back to the Linux machine, sometimes
> the line endings have all been changed to CR/LF.  At that point, what's
> important to me is finding which files did I change, and
> "diff --ignore-trailing-space" would work better for that than "diff -b".

For that particular problem, the already-existing --strip-trailing-cr
option might be a better choice, as it removes the CR from the output
as well as from the comparison.

(This option complexity cries out for some sort of simplifying
principle, but I haven't thought of one yet.)




reply via email to

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