From owner-freebsd-arch Wed Dec 29 9:28:24 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 CA244155F3 for ; Wed, 29 Dec 1999 09:28:21 -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 SAA15103 for ; Wed, 29 Dec 1999 18:28:19 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA79246 for freebsd-arch@freebsd.org; Wed, 29 Dec 1999 18:28:19 +0100 (MET) Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 601EB15596 for ; Wed, 29 Dec 1999 09:28:07 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 1847E1CCF; Thu, 30 Dec 1999 01:27:59 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Bruce Evans Cc: Matthew Jacob , Bill Fumerola , arch@freebsd.org Subject: Re: Changing diff's default output format In-Reply-To: Message from Bruce Evans of "Thu, 30 Dec 1999 02:11:25 +1100." Date: Thu, 30 Dec 1999 01:27:59 +0800 From: Peter Wemm Message-Id: <19991229172759.1847E1CCF@overcee.netplex.com.au> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans wrote: > On Tue, 28 Dec 1999, Matthew Jacob wrote: > > > That's hardly the point. The point here, which I won't defend very > > vigorously, is that there are maybe 10 basic Unix utilities, that should > > be default look pretty much the same across *all* Unix systems. > > > > There may be some POSIX collateral on this, if not SVID stuff- I'm too far > > >From a POSIX.2 draft: > > P2> 4.17 diff - Compare two files > P2> > P2> > P2> 4.17.1 Synopsis > P2> > P2> diff [ -c | -e | -C n ] [-br] file1 file2 > P2> > P2> > 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. Anyway, as much as I'd love to change the default, I'm sure somebody somewhere will have something broken and/or take offence. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message