Re: bkbits - "@" question

From: Måns Rullgård
Date: Thu Oct 28 2004 - 13:18:24 EST


Mark Frazer <mark@xxxxxxxxxxxx> writes:

> Larry McVoy <lm@xxxxxxxxxxxx> [04/10/23 01:31]:
>> The web pages on bkbits.net contain email addresses. This is probably
>> about a 4 year too late question but would it help reduce spam if we
>> did something like s/@/ (at) / for all those addresses?
>
> Hi Larry: I've used this for a while to add email addresses to my web
> pages and I get almost no spam any more, < 10 per month!
>
> [mjfrazer@pacific depictII]$ html-encode mark@xxxxxxxxxxxx
> &#109;&#97;&#114;&#107;&#64;&#109;&#106;&#102;&#114;&#97;&#122;&#101;&#114;&#46;&#114;&#111;&#103;
> [mjfrazer@pacific depictII]$
>
> I've attached the source.

Why not just perl -pe 's/(.)/"&#".ord($1).";"/eg;' ?

--
Måns Rullgård
mru@xxxxxxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/