Re: [dev] [sbase][RFC] diff: only support for unified context

From: Mattias Andrée <maandree_AT_kth.se>
Date: Mon, 7 Mar 2016 21:14:01 +0100

On Mon, 7 Mar 2016 20:03:17 +0100
<k0ga_AT_shike2.com> wrote:

> Hi,
>
> > I'm thinking about removing support for all
> > output formats except unified context from
> > my diff(1) candidate. I want to hear your
> > opinion.
>
> I don't like the idea at all. I use some times
> the ed output for some scripts. SCCS, RCS and
> CVS use it to, so I think it is a very bad idea
> to remove it.

Does RCS use ed? GNU diff has -n(--rcs).
Is there any point to supporting SCCS and RCS?
I was thinking about ignoring SCCS support in
patch(1) too.

What would happen if `diff -e` output unified
context? patch(1) will automatically determine
the format, so unless those systems have there
own implementation of patch or explicitly call
patch(1) with -e there should be no problem, and
if they do have their own patch-implementation
they probably have their own diff-implementation
too.

>
> Regards.
>
>


Received on Mon Mar 07 2016 - 21:14:01 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 07 2016 - 21:24:12 CET