๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83804

Re: docheckgroups et al

#83804
From: Russ Allbery
Date: Wed, 05 Jan 2011 23:23
24 lines
2548 bytes
Julien ร‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> I must admit that I do not know why docheckgroups with mawk outputs
> something with a small newsgroups file, and nothing with a big
> one. (Pattern matchings should not change depending on the length of the
> newsgroups fileโ€ฆ)

The mawk Debian package description includes:

 Mawk is smaller and much faster than gawk. It has some compile-time
 limits such as NF = 32767 and sprintf buffer = 1020.

I suspect one of those limits or some other compile-time limit has
something to do with it.

I unfortunately don't know enough awk to tell you whether that change
would work.  At the point where I have to start writing awk like that, I
usually switch to Perl.  :)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <878vyzvssp.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news.kjsl.com!usenet.stanford.edu!usenet-its.stanford.edu!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>

Show Full Headers
Complete Article Headers
Message-ID: <878vyzvssp.fsf@windlord.stanford.edu>
Subject: Re: docheckgroups et al
Date: Wed, 05 Jan 2011 15:23:34 -0800
From: Russ Allbery <rra@stanford.edu>
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>
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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news.kjsl.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 24
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: usenet-its.stanford.edu 1294269814 13567 171.67.225.134 (5 Jan 2011
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Cancel-Lock: sha1:Le7t6lWqVnv7zsAZ+nyzm3ieP88=