🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83812

Re: docheckgroups et al

#83812
From: Julien ÉLIE
Date: Sun, 09 Jan 2011 20:38
40 lines
2774 bytes
Hi Russ,

> Hm, the mix of shell and Perl still makes this kind of hard to
> follow and read.

Yes, you're totally right.  This script becomes less and less
maintainable, patch after patch.


> (You do need the "" around the $2 parameter, in case it contains
> shell metacharacters.  There are a few other places like that as
> well.)

OK, thanks!


> Have you considered rewriting the whole script in Perl?

I agree it would be the best thing to do.
Well, I will have a look at it.

http://inn.eyrie.org/trac/ticket/57

Urs Janßen has an updated version of docheckgroups written in Perl:
ftp://ftp.tin.org/pub/news/servers/utils/docheckgroups-inn-2.x.pl

This script also handles a complete checkgroups article in entry
(headers+body).
I will start from it.  I have to add the new functionalities of the 
docheckgroups shipped with INN 2.4 and INN 2.5.

Urs, in case you read us, do not hesitate to tell if this version on 
ftp.tin.org is not the latest one for the script.

-- 
Julien ÉLIE

« – Par Thor !
   – Par Odin !
   – Par exemple ! » (Astérix)
Technical Details
Message-ID: <8oukm6Ff0tU1@mid.individual.net>
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!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news2.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifb38e$2m6$1@puck.litech.org> <ifcmdj$h2p$1@n102.xanadu-bbs.net> <87ipydiwys.fsf@windlord.stanford.edu> <ifri8f$4jg$1@puck.litech.org> <ifs1r4$rjh$1@n102.xanadu-bbs.net> <8oejprF38fU1@mid.individual.net> <ifth0a$92v$1@n102.xanadu-bbs.net> <8of2b7FqphU1@mid.individual.net> <ifvkrk$tqg$1@n102.xanadu-bbs.net> <87r5csmuwk.fsf@windlord.stanford.edu> <ig05m5$2ij$1@n102.xanadu-bbs.net> <8ok9csFl0pU1@mid.individual.net> <878vyzvssp.fsf@windlord.stanford.edu> <8omulnFbgoU1@mid.individual.net> <871v4p78mh.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <8oukm6Ff0tU1@mid.individual.net>
Subject: Re: docheckgroups et al
Date: Sun, 09 Jan 2011 21:38:30 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifb38e$2m6$1@puck.litech.org> <ifcmdj$h2p$1@n102.xanadu-bbs.net> <87ipydiwys.fsf@windlord.stanford.edu> <ifri8f$4jg$1@puck.litech.org> <ifs1r4$rjh$1@n102.xanadu-bbs.net> <8oejprF38fU1@mid.individual.net> <ifth0a$92v$1@n102.xanadu-bbs.net> <8of2b7FqphU1@mid.individual.net> <ifvkrk$tqg$1@n102.xanadu-bbs.net> <87r5csmuwk.fsf@windlord.stanford.edu> <ig05m5$2ij$1@n102.xanadu-bbs.net> <8ok9csFl0pU1@mid.individual.net> <878vyzvssp.fsf@windlord.stanford.edu> <8omulnFbgoU1@mid.individual.net> <871v4p78mh.fsf@windlord.stanford.edu>
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!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news2.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 40
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 3dWHZWKfvRX6PqfIz+e8+AEzXhz/+bAkFkg3Z/9SffZSB9lOg=
Cancel-Lock: sha1:ulbzWy7CzEc0GhHIXVCtcjoIWcQ=
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr;
In-Reply-To: <871v4p78mh.fsf@windlord.stanford.edu>
X-Original-Bytes: 2561