On Wed, 30 Mar 2005 10:49:33 -0800, Gregory K. Ruiz-Ade
<[EMAIL PROTECTED]> wrote:
> On Mar 29, 2005, at 11:29 PM, Stewart Stremler wrote:
> 
> > (The problem of distributing "diffs" is that I could change the
> > line-endings and indentation for every file, and then I could give it
> > away... except that I'd then be giving away something that wasn't
> > really
> > mine to give.)
> 
> There are options to diff (or at least GNU diff) that cause it to
> completely ignore whitespace in the lines it compares.  This would then
> generate a patch file containing only your tangible changes.
> 
> Then again, you probably knew this. :)

Historical perspective.  I just looked in a couple of old manuals. 
This type of option to diff(1) was available in Ultrix in 1984, and
4.4BSD in 1993.  It was not available in SysVR2 in 1984.  I suspect
that it was added in 4.2BSD.  Anyhow it isn't explicitly a GNU thing.


-- 
    carl lowenstein         marine physical lab     u.c. san diego
                                                 [EMAIL PROTECTED]
-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to