Concerning CCMAIL keyword in CVS logs

Josef Spillner josef at ggzgamingzone.org
Thu Jun 19 07:40:59 CEST 2003


On Thursday 19 June 2003 00:56, Rob Kaper wrote:
> What's worse, is that kde-common/accounts is probably also very accessible
> to spammers.

Given the recent move towards python, the snippet below could obscur them a 
little bit :)
However this also affects AUTHOR and files containing KAboutData and others. 
Probably webcvs could be modified to filter out addresses.

Josef

#!/usr/bin/env python
import re, sys
for l in sys.stdin.readlines():
	x = re.match("^(\\S+)\\s+(.+?)\\s+(\\S+)\\s*\\n$", l)
	if x:
		print re.sub("\.", "|", "%-10s %-30s %s" % x.groups())
	else:
		print l,

-- 
Play for fun, win for freedom.


More information about the Kde-policies mailing list