Article View: news.software.nntp
Article #74156Re: Checkgroups control articles
From: Dr.Ruud
Date: Wed, 30 Aug 2006 12:28
Date: Wed, 30 Aug 2006 12:28
32 lines
2137 bytes
2137 bytes
Iulius schreef:
> Russ Allbery:
>> ???:
>>> By the way, is there a possibility for ยซ controlchan ยป to correctly
>>> handle articles in wireformat?
>>
>> It's a possibility if someone patches the code to do it. It
>> requires a bit of logic in parse_article to figure out what the line
>> ending is and then do the appropriate thing. I think that dot
>> escaping doesn't matter, since it's not a valid newsgroup.
>
> while (<$artfh>) {
> #chop;
> s/\r?\n$//;
More generally:
s/\s+$//; # chomp+
> last if /^$/;
> [...]
>
> works great.
--
Affijn, Ruud
"Gewoon is een tijger."
Technical Details
Message-ID:
<ed47kg.1bo.1@news.isolution.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!feeder.news-service.com!newsgate.cistron.nl!xs4all!transit4.news.xs4all.nl!post.news.xs4all.nl!not-for-mailReferences:
<ebsvjo$u37$1@guepard.ecp.fr> <87psentg8t.fsf@windlord.stanford.edu> <ecrmfj$k8g$1@guepard.ecp.fr> <87lkpanldl.fsf@windlord.stanford.edu> <ecsom4$uh6$1@guepard.ecp.fr> <87odu6m2s1.fsf@windlord.stanford.edu> <ecurq4$jir$1@guepard.ecp.fr> <87odu41zz1.fsf@windlord.stanford.edu> <ed0vip$8f3$1@guepard.ecp.fr> <87u03vb1ot.fsf@windlord.stanford.edu> <ed3eel$17t$1@guepard.ecp.fr>Show Full Headers
Complete Article Headers
Message-ID: <ed47kg.1bo.1@news.isolution.nl>
Subject: Re: Checkgroups control articles
Date: Wed, 30 Aug 2006 14:28:37 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
References: <ebsvjo$u37$1@guepard.ecp.fr> <87psentg8t.fsf@windlord.stanford.edu> <ecrmfj$k8g$1@guepard.ecp.fr> <87lkpanldl.fsf@windlord.stanford.edu> <ecsom4$uh6$1@guepard.ecp.fr> <87odu6m2s1.fsf@windlord.stanford.edu> <ecurq4$jir$1@guepard.ecp.fr> <87odu41zz1.fsf@windlord.stanford.edu> <ed0vip$8f3$1@guepard.ecp.fr> <87u03vb1ot.fsf@windlord.stanford.edu> <ed3eel$17t$1@guepard.ecp.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!feeder.news-service.com!newsgate.cistron.nl!xs4all!transit4.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Newsgroups: news.software.nntp
Organization: Chaos rules.
X-Newsreader: WMDIYB
X-Archive-Me: please
Approved: yesterday
X-Face: &CQ$FIr!=+=w,8`0Q^Ug"1>F[(/op8->E; NQet`5fe$;
=e*!Z5&REvp<~Tj|"Y[|8OcJ{w#z&mB7B:I)XO*%_|\]|YW$C>>$Q[9-#K~c$tQ^Mf0,wMo?h\C)TE>f
Lines: 32
NNTP-Posting-Host: 194.109.13.140
X-Trace: 1156941604 news.xs4all.nl 4512 [::ffff:194.109.13.140]:1028
X-Complaints-To: abuse@xs4all.nl