From owner-freebsd-doc Mon Mar 12 11:29:11 2001 Delivered-To: freebsd-doc@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 3322837B719; Mon, 12 Mar 2001 11:29:08 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2CJSUA83335; Mon, 12 Mar 2001 11:28:30 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010312093123.A95137@blackhelicopters.org> Date: Mon, 12 Mar 2001 11:28:11 -0800 (PST) From: John Baldwin To: Michael Lucas Subject: Re: docs/25735: handbook correction Cc: freebsd-doc@FreeBSD.org, gnats-admin@FreeBSD.org Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 12-Mar-01 Michael Lucas wrote: > On Mon, Mar 12, 2001 at 06:30:01AM -0800, gnats-admin@FreeBSD.org wrote: >> Thank you very much for your problem report. >> It has the internal identification `docs/25735'. >> The individual assigned to look at your >> report is: freebsd-doc. >> >> You can access the state of your problem report at any time >> via this link: >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=25735 >> >> >Category: docs >> >Responsible: freebsd-doc >> >Synopsis: error in handbook >> >Arrival-Date: Mon Mar 12 06:30:01 PST 2001 > > DOH! > > Please try the following patch instead. Actually, I prefer the first patch, since in general, we prefer context diffs, which is a superset of -c diffs and -u diffs. (You did read the whole, thread, right?) Unfortunately, the language in the manpage probably makes all of this change necessarily, as 'context' is ambiguously (ab)used. :( Also, your patch is reversed, but that's nothing that patch -R can't fix (and patch will catch it anyways and prompt to DTRT.) > --- chapter.sgml Mon Mar 12 09:24:56 2001 > +++ chapter.sgml-dist Mon Mar 12 09:11:46 2001 > @@ -497,17 +497,17 @@ > Assuming that you can manage to secure fairly up-to-date sources > to base your changes on, the next step is to produce a set of diffs to > send to the FreeBSD maintainers. This is done with the &man.diff.1; > - command, with the unified diff form > + command, with the context diff form > being preferred. For example: > > > - &prompt.user; diff -u oldfile > newfile > + &prompt.user; diff -c oldfile > newfile > > or > > - &prompt.user; diff -u -r olddir > newdir > + &prompt.user; diff -c -r olddir > newdir > > - would generate such a set of unified diffs for the given source file > + would generate such a set of context diffs for the given source file > or directory hierarchy. See the man page for &man.diff.1; for more > details. -- John Baldwin -- 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