From owner-freebsd-arch Wed Dec 29 9:40:18 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id AC53415267 for ; Wed, 29 Dec 1999 09:40:15 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id SAA15211 for ; Wed, 29 Dec 1999 18:40:11 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA79327 for freebsd-arch@freebsd.org; Wed, 29 Dec 1999 18:40:11 +0100 (MET) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id F142E151E5 for ; Wed, 29 Dec 1999 09:38:49 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id SAA54993; Wed, 29 Dec 1999 18:37:58 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Peter Wemm Cc: Bruce Evans , Matthew Jacob , Bill Fumerola , arch@freebsd.org Subject: Re: Changing diff's default output format In-reply-to: Your message of "Thu, 30 Dec 1999 01:27:59 +0800." <19991229172759.1847E1CCF@overcee.netplex.com.au> Date: Wed, 29 Dec 1999 18:37:58 +0100 Message-ID: <54991.946489078@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991229172759.1847E1CCF@overcee.netplex.com.au>, Peter Wemm writes : >> P2> 4.17.2 Description >> P2> >> P2> The diff utility shall compare the contents of file1 and file2 and write >> P2> to standard output a list of changes necessary to convert file1 into >> P2> file2. This list should be minimal. No output shall be produced if the >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> P2> files are identical. > >Typical POSIX - Ambiguous as usual. "should" != "must". One could argue >that context diffs would fit in there depending on who is doing the >conversion - the minimum required for most humans to do a "conversion" is >-c format, see the PR database for examples. Uhm, I think the point of the posix text is to find the minimal set of changes, not the actual number of ascii-characters in the output. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message