Article View: news.software.nntp
Article #89285Re: checkgroups issue
From: Russ Allbery
Date: Wed, 06 Apr 2022 18:56
Date: Wed, 06 Apr 2022 18:56
37 lines
2489 bytes
2489 bytes
Nigel Reed <sysop@endofthelinebbs.com> writes:
> I've started to go through some of the checkgroups emails that my innd
> server has been sending me and notice that for recommended newgroups,
> there's no separation between the group name and the description:
> # You can add them by executing the command(s):
> /news/bin/ctlinnd newgroup greenend.announceAnnouncements y
> /news/bin/ctlinnd newgroup greenend.commitsCommit y
> /news/bin/ctlinnd newgroup greenend.configgreenend.* y
> /news/bin/ctlinnd newgroup greenend.miscUnpleasant y
> /news/bin/ctlinnd newgroup greenend.relativity.private.rsvpParty y
> /news/bin/ctlinnd newgroup greenend.systemcron y
> /news/bin/ctlinnd newgroup greenend.testTests y
> /news/bin/ctlinnd newgroup greenend.vpnPrivate y
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);
which should split each line on the first whitespace, so I'm not sure what
could cause this. It's acting as if it doesn't think the tab is
whitespace and is instead splitting on the first space in the description,
but I don't know what would cause that behavior in Perl. I don't think
that even a really weird locale would make a tab not be 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:
<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!archive!apf2.newsdeef.eu!not-for-mailReferences:
<20220331194723.33e3957e@wibble.sysadmininc.com>Show Full Headers
Complete Article Headers
Message-ID: <87h776m45r.fsf@hope.eyrie.org> Subject: Re: checkgroups issue Date: Wed, 06 Apr 2022 11:56:48 -0700 From: Russ Allbery <eagle@eyrie.org> References: <20220331194723.33e3957e@wibble.sysadmininc.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf2.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:L6BXMEPKx327rW6/lN+ypWDghbQ=