[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rdiff -s

From: Paul Edwards
Subject: Re: rdiff -s
Date: Wed, 23 Jul 2003 10:51:32 GMT

"Derek Robert Price" <derek@ximbiot.com> wrote in message 

>>Do you think the following change would be useful so that
>>awk can be used to get the word removed/added/changed
>>in a fixed position?
>>Or alternatively drop the word "is" from the removed/added

> Without a specific sanity test, this change may not last very long
> anyhow.

I can add that.

> Regardless, I don't think I want to make consistent line
> length part of our design goals.

Actually, my idea of "summary" ("-s") is a lot different from
CVS's idea.  My idea of summary is not written in English at
all, it is a terse format suitable for easy processing by other


src/xxx/fred.c C
src/xxx/mary.c D
src/xxx/abc.c A

But if English is used, fixed positions would be reasonable,
albeit still bizarre.

But one level down the chain from that would be consistent
number of spaces so that awk (with space separation) will
find the token at the same spot.

But this is a long way from that:

> Why not just regex for each pattern or
> something predictably more consistent like \d\.[\d.]*\d?

and requires a much higher level of sophistication or tool in
order to convert CVS's summary into... a summary!

BFN.  Paul.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]