To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.punOpen lugnet.off-topic.pun in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Pun / 180
179  |  181
Subject: 
Re: spamcake collection
Newsgroups: 
lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek
Date: 
Fri, 16 Jul 1999 23:00:47 GMT
Reply-To: 
jsproat@io%avoidspam%.com
Viewed: 
4 times
  
Tom McDonald wrote:
In lugnet.off-topic.fun, Todd Lehman writes:
In lugnet.off-topic.fun, Jeremy H. Sproat writes:
Todd Lehman wrote:
Tom/Mark...  I've got a 1.3 MB file here of all Tom's postings...  Writing
a harvester to parse all the sentences and figure out exactly what's part • of
Tom's sig and what's an official spamcake thingy is the tricky bit -- and
I'll let you do that part.  If you'd like to receive this file by e-mail
or download it from somewhere, let me know.
Can you fling a copy my way as well?  I'll take a swig at it...
You'll need a swig while doing it ;-)

If Perl is the code of refreshment, swig on!  :-,

I'm not sure this will get all of them.  It does introduce some non-sig
text.

BREAKAGE: while( $lineIn = <STDIN> ) {
  if( $lineIn =~ m/\bTom McD\b/ ) {
    while( $msgIn = <STDIN> ) {
      if( $msgIn =~ m/spamcake/i ) {
        print $msgIn;
        while( $sigIn = <STDIN> ) {
          if ( $sigIn =~ m/^\s*$/ || $sigIn =~ m/^[^:]+:/ ) {
            print "\n";
            next BREAKAGE;
          }
          print $sigIn;
        }
      } else {
        last;
      }
    }
  }
}


Cheers,
- jsproat

--
Jeremy H. Sproat <jsproat@io.com>
http://www.io.com/~jsproat
Darth Maul Lives



Message has 1 Reply:
  Re: spamcake collection
 
(...) Writing (...) part (...) and (...) <snipped code> How much? too much to throw out manually? Hmm (with an empty stare). Consider that spamcake directives never have parentheses surrounding them (but I've put some parenthetical lines after my (...) (25 years ago, 16-Jul-99, to lugnet.off-topic.fun, lugnet.off-topic.pun, lugnet.off-topic.geek)

Message is in Reply To:
  Re: spamcake collection
 
(...) of (...) You'll need a swig while doing it ;-) (...) Thanks! My mailbox is too full of junk to hold it so an ftp worked out great. (...) -Tom McD. when replying, stay away from the *pure* spamcake stuff... (25 years ago, 16-Jul-99, to lugnet.off-topic.fun, lugnet.off-topic.pun)

71 Messages in This Thread:






























Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR