🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #48556

Re: INN & cleanfeed

#48556
From: bill davidsen
Date: Wed, 27 Sep 2000 00:00
21 lines
1614 bytes
In article <8qrm4i$7df$1@allhats.xcski.com>,
Paul Tomblin <ptomblin@xcski.com> wrote:
| In a previous article, Russ Allbery <rra@stanford.edu> said:
| >> $lines = $hdr{'__BODY__'} =~ tr/\n/\n/;
| >No, you want just:
| >    $lines = $hdr{'__LINES__'};
| >
| >without the tr/// part.
| 
| Doesn't that mean that $lines won't be set if there is no "Lines:" header
| in the article, or does inn 2.3 always generate it even on in-coming
| articles that didn't come with one?

$hdr{'Lines'} is the "Lines:" header text
$hdr{'__LINES__'} is the number of newlines in the body.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
Make the rules? I don't make the rules. I don't even FOLLOW the rules!

Technical Details
Message-ID: <8qt4h3$2n6u$1@newssvr06-en0.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <8qr5to$hk9$1@nnrp1.deja.com> <8qr9jo$kil$1@nnrp1.deja.com> <yl7l7yitja.fsf@windlord.stanford.edu> <8qrm4i$7df$1@allhats.xcski.com>

Show Full Headers
Complete Article Headers
Message-ID: <8qt4h3$2n6u$1@newssvr06-en0.news.prodigy.com>
Subject: Re: INN & cleanfeed
Date: Wed, 27 Sep 2000 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <8qr5to$hk9$1@nnrp1.deja.com> <8qr9jo$kil$1@nnrp1.deja.com> <yl7l7yitja.fsf@windlord.stanford.edu> <8qrm4i$7df$1@allhats.xcski.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 674739672
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr06-en0.news.prodigy.com 970069347 89310 192.168.190.236 (27 Sep 2000 15:42:27 GMT)
Organization: TMR Associates, Schenectady NY
NNTP-Posting-Date: Wed, 27 Sep 2000 15:42:27 +0000 (UTC)
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com