| From: | Eirik Nygaard <eirikn@xxxxxxxxxxxx> |
| Date: | Sat, 1 Nov 2003 14:26:42 +0100 |
I have modified the script that was made for FreeBSD so a link to each of the modified filen in a commit mail will be added to the bottom of the mail. Just in case someone else would like it I have attached it to this mail. -- Eirik Nygaard eirikn@xxxxxxxxxxxx
:0
* ^To: commits@xxxxxxxxxxxxxxxxxxxxxxx
* ^Subject: cvs commit:
{
PERLSCRIPT='
while (<>) {
if (/^\s+[\d\.]+\s+\+\d+\s+\-\d+\s+(.*)\s+\((dead|new)\)/) {
$l .= "http\:\/\/www\.dragonflybsd\.org\/cgi\-bin\/cvsweb\.cgi\/$1\n";
} elsif (/^\s+([\d\.]+)\.(\d+)\s+\+\d+\s+\-\d+\s+(.*)/) {
$l .= "http\:\/\/www\.dragonflybsd\.org\/cgi\-bin\/cvsweb\.cgi\/$3\.diff" .
"\?\&r1\=$1\." . "\&r2\=$1\.$2\&f\=h\n";
}
print;
}
print "$l\n" if ($l);
'
:0 bf
| perl -Te "${PERLSCRIPT}"
}
Attachment:
pgp00000.pgp
Description: PGP signature