Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2000 21:48:45 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Small handbook error
Message-ID:  <20000719214845.B75784@strontium.scientia.demon.co.uk>
In-Reply-To: <3975C623.1EFBFAE8@math.missouri.edu>
References:  <Pine.BSF.4.21.0007190228330.18954-100000@wysoft.tzo.com> <3975C623.1EFBFAE8@math.missouri.edu>

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

--V0207lvV8h4k8FAm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Stephen Montgomery-Smith wrote:

> diff -c new-file old-file
>=20
> or
>=20
> diff -c old-file new-file   ?

SYNOPSIS
       diff [options] from-file to-file

That will create a diff which takes you from "from-file" to "to-file",
so "from-file" is the original, "to-file" is your edited copy.

i.e.

	$ cp foo.c foo.c.orig
	$ vi foo.c
	<hack, hack, hack>
	$ diff -u foo.c.orig foo.c

--=20
Ben Smithurst                 / ben@FreeBSD.org / PGP: 0x99392F7D
FreeBSD Documentation Project /

--V0207lvV8h4k8FAm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: sV15DiPwluW8t7qRD8sT22zHYi+itnP5

iQCVAwUBOXYULCsPVtiZOS99AQHFKgP/RuMuxTVYU37U/pONsmxzcjjxuDczj/BZ
TJYIR0gPCYuP7Y9fikIr4fOx6zdqP2vkcxj9l5ztQzZG628XMvvj08TICALVF7mU
3juhhAnXCZc/xI81Ap9Ou/4VVFxB2j41x+f+etZw/w7P0FAdIVczPvW+zCXJqTt/
/4C0OjRUDZY=
=I9Xq
-----END PGP SIGNATURE-----

--V0207lvV8h4k8FAm--


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




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