Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2001 21:22:15 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        setantae <setantae@submonkey.net>
Cc:        FreeBSD-doc@FreeBSD.org
Subject:   Re: What are the best diff options ?
Message-ID:  <200110271922.f9RJMG268853@gits.dyndns.org>
In-Reply-To: <20011027104214.A7633@rhadamanth>

next in thread | previous in thread | raw e-mail | index | archive | help
setantae wrote:
> 
> I'm going to spend this morning cleaning up a few manpages, etc.
> 
> http://www.freebsd.org/docproj/submitting.html indicates that the best options
> to diff would just be a simple -c.

-u is far more better than -c.

> However, this produces output that doesn't clearly show what has changed and
> looks nothing like most of the other diffs I have seen.
> 
> Should I be using this option, or does it not really matter ?
> 
> I'm probably only going to be patching one file at a time.

here is the content of alias I use :

diff -ruN -x CVS -x work -x "#*" -x "*~" -x "*.orig" -x "*.rej" \
	  -I "\$Id.*\$" -I "\$FreeBSD.*\$"

Cyrille.
-- 
Cyrille Lefevre                 mailto:clefevre@citeweb.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110271922.f9RJMG268853>