Message-Id: <200012271945.OAA15362@qnx.com> Subject: Re: diff -u To: djgpp-workers AT delorie DOT com Date: Wed, 27 Dec 2000 14:45:50 -0500 (EST) From: "Alain Magloire" In-Reply-To: from "Eli Zaretskii" at Dec 27, 2000 07:12:27 PM X-Mailer: ELM [version 2.5 PL0b1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > > On Wed, 27 Dec 2000, Martin Str|mberg wrote: > > > What's the context in context diffs that aren't in unified diffs? > > Unified (-u) diffs prefer line deletions and additions, while context > (-c) diffs favor groups of changed lines. The latter makes it easier to > see the two versions side by side, while -u requires you to reconstruct > that mentally. Some people find that reconstruction hard. True, but you can put some context, for example diff -U3 asking for 3 lines context. At least GNU diff can do this. IIRC gcc maintainers asked for diff -c3p diff -up -- au revoir, alain ---- Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!