Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 1999 18:37:58 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        Bruce Evans <bde@zeta.org.au>, Matthew Jacob <mjacob@feral.com>, Bill Fumerola <billf@chc-chimes.com>, arch@freebsd.org
Subject:   Re: Changing diff's default output format 
Message-ID:  <54991.946489078@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 30 Dec 1999 01:27:59 %2B0800." <19991229172759.1847E1CCF@overcee.netplex.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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