[Pmwiki-users] Re: Re: Spamming technique

Christian Ridderström chr
Mon May 24 12:15:18 CDT 2004


On Mon, 24 May 2004, Steven Leite wrote:

> Sound good Chrisitan, but how difficult would it be to write a php
> script (or cookbook recipe) to do the same?

I have no idea... (unless we're talking about do a system call and let the
system execute:

> >     grep ^text= wiki.d/* | tr ? \\n | tr " " \\n | tr ']' \\n | \
> >       grep -i http: | sed -e " s/.*\(http.*\)/\\1/" | sort | \
> >       uniq > URIs.lst

:-)

/Christian

> Not all of us are comfortable with bash script, and not all of us have
> shell access.

The bash-script is probably not a problem (we're really only talking a 
about a few statements here), but the lack of shell access is a problem.

But I do think that this functionality would be pretty to have inside 
PmWiki, although I'm not sure how the version control would be handled.
In short, it's above my ability to write in PhP, and my motivation is low 
since I've already solved it using bash...

/Christian

-- 
Christian Ridderstr?m                           http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list