[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rdiff -s
Re: rdiff -s
Wed, 23 Jul 2003 10:51:32 GMT
"Derek Robert Price" <address@hidden> wrote in message news:address@hidden
>>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
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 126.96.36.199 188.8.131.52
src/xxx/mary.c D 184.108.40.206
src/xxx/abc.c A 220.127.116.11
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!
- rdiff -s, Paul Edwards, 2003/07/12
- Re: rdiff -s, Derek Robert Price, 2003/07/15
- Message not available
- Re: rdiff -s,
Paul Edwards <=