Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2001 09:34:13 -0700 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        setantae <setantae@submonkey.net>
Cc:        FreeBSD-doc@FreeBSD.org
Subject:   RE: What are the best diff options ?
Message-ID:  <XFMail.011028093413.jhb@FreeBSD.org>
In-Reply-To: <20011027104214.A7633@rhadamanth>

next in thread | previous in thread | raw e-mail | index | archive | help


On 27-Oct-01 setantae wrote:
> 
> Hi,
> 
> 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.

diff -u is more compact and in many case preferred.  Sometimes however if the
new code is completely different from the old code, diff -c is more readable as
you get to see the old code in its entirety and then the new code instead of
seeing them all intermixed with each other.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.011028093413.jhb>