Subject: Re: Adding URLs to CVSWeb diffs for source changes
To: Blair Sadewitz <>
From: Martin S. Weber <>
List: current-users
Date: 07/18/2007 14:52:17
On Tue, Jul 17, 2007 at 06:38:37PM -0400, Blair Sadewitz wrote:
> I often read source-changes/pkgsrc-changes and would find it useful if
> the messages contained a link to the diff as it appears on
> when I am using a browser like elinks.
> It doesn't even have to be proper HTML (I don't want it to make things
> ugly for those not using web browsers, etc.),  just a URL.
> Any comments/opinions on this?

(\'s to break lines, it's one line of course)

sed -Ee '/To generate a diff/,/^$/\
    s!^cvs rdiff -r([^ ]+) -r([^ ]+) (.+)$!\\3.diff?r1=\1\&r2=\2!'

Pipe the messages through there and you're done?