🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #230709

Re: Stripping attribution lines and muffling >quoted lines in attachments.

#230709
From: Jeff▲Relf
Date: Fri, 27 Feb 2009 08:38
27 lines
2035 bytes
Oops, better yet:

  int Checked = 0 ;
  ....
  //  Scanning through the first 10 lines of a post, an eMail
  //  or a Plain-Text attachment ( where “ Checked == 1 ” ),
  //  looking for an attachment ( if “ Checked == 0 ” )
  //  and/or a nonBlank line to start the printing.
  if ( ++ PP >= EE || ! ( B = * PP  ) )  break;
  if ( NeedBB ) {
    P = B ;
    WhileWhite
    //  Skip past leading whiteSpace.
    ;
    if ( ! Ch )
      //  The line was blank, get the next one.
      continue ;
    //  Make BB point to the array of nonBlank lines
    //  to start the body of the post ( or eMail ).
    BB = PP, NeedBB = 0 ;
    if ( Checked )
      //  Already checked for attachments, don't reCheck.
      break ;
  }
  ....
  if ( ! Checked && ( Checked = 1, MimeHeader ) )
    goto Attach ;
Technical Details
Message-ID: <Jeff_Relf@Seattle.2009_Feb.27|0.38am|K>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1ivra6k.s0l2dp1m2bahfN%snipe@spambin.fsnet.co.uk> <ac87b$49a6f99f$5ed00124$25389@cache6.tilbu1.nb.home.nl> <slrngqe9hu.67t.pjr@pjr.gotdns.org> <1ivrr1f.1dzjg4tlyoocaN%snipe@spambin.fsnet.co.uk> <Jeff_Relf@Seattle.2009_Feb.26|11.32pm|y> <Jeff_Relf@Seattle.2009_Feb.26|11.57pm|n>

Show Full Headers
Complete Article Headers
Message-ID: <Jeff_Relf@Seattle.2009_Feb.27|0.38am|K>
Subject: Re: Stripping attribution lines and muffling >quoted lines in attachments.
Date: Fri, 27 Feb 2009 08:38:14 +0000
From: Jeff▲Relf <Jeff_Relf@Seattle.TEST>
References: <1ivra6k.s0l2dp1m2bahfN%snipe@spambin.fsnet.co.uk> <ac87b$49a6f99f$5ed00124$25389@cache6.tilbu1.nb.home.nl> <slrngqe9hu.67t.pjr@pjr.gotdns.org> <1ivrr1f.1dzjg4tlyoocaN%snipe@spambin.fsnet.co.uk> <Jeff_Relf@Seattle.2009_Feb.26|11.32pm|y> <Jeff_Relf@Seattle.2009_Feb.26|11.57pm|n>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 27
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net k3qe5qR4qObYbL4qhcJt4wqNkKNxq2Do1TeiUatZMEmLdWqVSK
Cancel-Lock: sha1:qsMcmT48Kekb80raXAusngWDHag=
User-Agent: JeffRelf.F-M.FM/X.ZIP
X-Original-Bytes: 1813