Subject:
|
Re: spamcake collection
|
Newsgroups:
|
lugnet.off-topic.geek
|
Date:
|
Fri, 16 Jul 1999 23:14:48 GMT
|
Reply-To:
|
jsproat@^Spamless^io.com
|
Viewed:
|
1250 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
Sproaticus wrote:
> Sproaticus wrote:
> > I'm not sure this will get all of them. It does introduce some non-sig
> > text.
> Here's a better version, which...
> ...handles naked, quoted lines;
> ...outputs one spamcake per line;
> ...but doesn't take into account spamcake sigs which don't say "spamcake" on
> the first line;
...but does remove duplicates:
BREAKAGE: while( $lineIn = <STDIN> ) {
if( $lineIn =~ m/\bTom McD\b/ ) {
while( $msgIn = <STDIN> ) {
if( $msgIn !~ m/^>/ && $msgIn =~ m/spamcake/i ) {
chomp $msgIn;
$spamcake = $msgIn;
while( $sigIn = <STDIN> ) {
if (
$sigIn =~ m/^\s*$/ ||
$sigIn =~ m/^[^:]+:/ ||
$sigIn =~ m/^>+\s*$/
) {
$spamcake .= "\n";
$sigs{$spamcake} = 1;
next BREAKAGE;
}
chomp $sigIn;
$spamcake .= " $sigIn";
}
} else {
last;
}
}
}
}
foreach ( keys %sigs ) { print; }
I now count 283 spamcake sigs.
Cheers,
- jsproat
p.s. I wasn't getting any work done today anyway... :-P
--
Jeremy H. Sproat <jsproat@io.com>
http://www.io.com/~jsproat
Darth Maul Lives
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: spamcake collection
|
| <FEzILx.C5I@lugnet.com> <378FB99F.F46CAB87@io.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit (...) Here's a better version, which... ...handles naked, quoted lines; ...outputs one spamcake per line; ...but doesn't (...) (25 years ago, 16-Jul-99, to lugnet.off-topic.geek)
|
71 Messages in This Thread: ![Uber-Galic question -Jeremy H. Sproat (13-Jul-99 to lugnet.off-topic.fun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -Todd Lehman (13-Jul-99 to lugnet.off-topic.fun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Jeremy H. Sproat (16-Jul-99 to lugnet.off-topic.fun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Tom McDonald (16-Jul-99 to lugnet.off-topic.fun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Jeff Stembel (16-Jul-99 to lugnet.off-topic.fun)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -John Neal (13-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Jeremy H. Sproat (13-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Tom McDonald (13-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Jeremy H. Sproat (13-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -John Neal (13-Jul-99 to lugnet.off-topic.fun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -James Brown (13-Jul-99 to lugnet.off-topic.fun)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Uber-Galic question -Tom McDonald (13-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -Jeremy H. Sproat (13-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Tom McDonald (13-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Jeremy H. Sproat (14-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -Tom McDonald (14-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -John Neal (14-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Tom McDonald (14-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -John Neal (14-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -Jeremy H. Sproat (15-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Tom McDonald (15-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -Greg Majewski (15-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Tom McDonald (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -John Neal (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Uber-Galic question -Mark de Kock (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -Tom McDonald (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -Jeremy H. Sproat (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Uber-Galic question -Mark de Kock (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -John Neal (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -Todd Lehman (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -Tom McDonald (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -Jeremy H. Sproat (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![spamcake collection -Todd Lehman (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: spamcake collection -Tom McDonald (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: spamcake collection -Jeremy H. Sproat (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: spamcake collection -Tom McDonald (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: spamcake collection -Jeremy H. Sproat (16-Jul-99 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: spamcake collection -Jeremy H. Sproat (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek)](/news/x.gif) ![](/news/246.gif) ![Re: spamcake collection -Tom McDonald (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: spamcake collection -Robert Munafo (17-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: spamcake collection -Todd Lehman (17-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: spamcake collection -Tom McDonald (17-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: spamcake collection -Jeremy H. Sproat (17-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: spamcake collection -Jeremy H. Sproat (16-Jul-99 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/246.gif) ![Re: spamcake collection -Larry Pieniazek (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![The Results So Far (Was: spamcake collection) -Jeremy H. Sproat (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: The Results So Far (Was: spamcake collection) -Jeremy H. Sproat (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: spamcake collection -Jeremy H. Sproat (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: spamcake collection -Jeremy H. Sproat (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: spamcake collection -Larry Pieniazek (17-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: The Results So Far (Was: spamcake collection) -Larry Pieniazek (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/246.gif) ![Re: The Results So Far (Was: spamcake collection) -Jeremy H. Sproat (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: The Results So Far (Was: spamcake collection) -Tom McDonald (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: The Results So Far (Was: spamcake collection) -Larry Pieniazek (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif) ![](/news/46.gif) ![Re: The Results So Far (Was: spamcake collection) -Jeremy H. Sproat (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: The Results So Far (Was: spamcake collection) -Larry Pieniazek (17-Jul-99 to lugnet.off-topic.geek)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: The Results So Far (Was: spamcake collection) -Larry Pieniazek (17-Jul-99 to lugnet.off-topic.geek, lugnet.off-topic.fun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: The Results So Far (Was: spamcake collection) -Tom McDonald (17-Jul-99 to lugnet.off-topic.fun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -Terry Keller (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![(Cancelled)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -Tom McDonald (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/246.gif) ![Re: Uber-Galic question -Jeff Stembel (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Tom McDonald (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -Todd Lehman (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -Larry Pieniazek (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Darth <name> (was Re: Uber-Galic question) -James Brown (14-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -Terry Keller (16-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -Larry Pieniazek (15-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Uber-Galic question -Ed Jones (14-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif) ![](/news/46.gif) ![Re: Uber-Galic question -Tom McDonald (14-Jul-99 to lugnet.off-topic.fun, lugnet.off-topic.pun)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|