🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89287

Re: checkgroups issue

#89287
From: Russ Allbery
Date: Wed, 06 Apr 2022 19:00
23 lines
1691 bytes
Russ Allbery <eagle@eyrie.org> writes:

> Just wanted to confirm that this is definitely broken (the above output is
> nonsensical and means the checkgroups message isn't being parsed
> properly), but I'm not sure why and I haven't seen the same behavior.

> It should be parsed by checkgroups.pl, which does:

>     foreach (@body) {
>         my ($ngname, $ngdesc) = split(/\s+/, $_, 2);

Oh, wait, no, that delegates the construction of that mail message to
docheckgroups, which looks like it parses the checkgroups yet again.

docheckgroups is kind of a mess of Perl and shell, but it looks like the
core parsing is "my @fields = split()" which should again split the line
on whitespace.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87czhum401.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <20220331194723.33e3957e@wibble.sysadmininc.com> <87h776m45r.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <87czhum401.fsf@hope.eyrie.org>
Subject: Re: checkgroups issue
Date: Wed, 06 Apr 2022 12:00:14 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <20220331194723.33e3957e@wibble.sysadmininc.com> <87h776m45r.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="16016"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:EFN40hys69KcJU4fZ2GrP4U0d00=