Article View: news.software.nntp
Article #80822Re: ISC Newsgroups - Unmatched )
From: John F. Morse
Date: Fri, 01 May 2009 05:37
Date: Fri, 01 May 2009 05:37
66 lines
4208 bytes
4208 bytes
Russ Allbery wrote: > "John F. Morse" <xanadu.bbs@example.invalid> writes: > > >> What my question is (or was) is based on what I see as an error >> message "egrep: Unmatched ) or \)" which appears to me as pointing to >> the right (closing) parentheses without a left (opening) >> parentheses. "Unmatched" is the error. >> >> I check the newsgroups file (/var/lib/news/newsgroups) which I >> downloaded from ftp://ftp.isc.org/usenet/CONFIG/newsgroups.bz2 and >> installed, and it does, indeed, have occurrences of "unmatched" >> parentheses. >> > > Yeah, I know, this looks plausible, but we don't think this is the cause > of the problem. Instead, we think the problem is that your egrep can't > handle unlimited-length patterns. > > The way docheckgroups works is that it first scans the list of > newsgroups to determine what top-level hierarchies are defined in it. > It then turns that list of top-level hierarchies into a regex, and uses > it to extract the relevant groups from your local active file so that it > can compare which groups need to be changed. > > If you run docheckgroups on the entire newsgroups file from ftp.isc.org, > you end up with a *lot* of top-level hierarchies, and therefore a very > long regular expression. It looks like your egrep only has a limited > length of pattern that it supports and it runs out of room in its > pattern buffer before it sees the end of the regular expression and > hence the closing parenthesis. That's where the error message is coming > from. > OK. That makes sense. Thanks for taking the time to explain this, Russ. > The smileys in the newsgroup descriptions are probably just a red > herring. docheckgroups doesn't care about the contents of the > description section. Then perhaps this should be corrected?: According to http://www.eyrie.org/~eagle/software/inn/docs/docheckgroups.html docheckgroups does look at the newsgroups file: " ... Then, docheckgroups checks the active and newsgroups files and displays on its standard output a list of changes, if any. It does not change anything by default; it only points out what should be changed: ...." So, are you saying that, if the above is indeed correct, then docheckgroups looks in the /var/lib/news/active file, and then only looks at the newsgroup names in the /var/lib/news/newsgroups file, and not the description portion? -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID:
<gte1rn$8q4$2@optima7.xanadu-bbs.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.ams.giganews.com!nntp.giganews.com!newsfeed20.multikabel.net!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder3.xlned.com!feeder.news-service.com!nntp.club.cc.cmu.edu!74.222.216.191.MISMATCH!optima7.xanadu-bbs.net!not-for-mailReferences:
<gt3blo$khr$1@optima7.xanadu-bbs.net> <gt3ir3$aqe$1@news.trigofacile.com> <gt4mr1$qmh$1@optima7.xanadu-bbs.net> <gt4s5q$ggn$1@news.trigofacile.com> <gt5afd$vis$1@optima7.xanadu-bbs.net> <gt67c8$vqa$1@news.trigofacile.com> <gtba4u$hoh$1@optima7.xanadu-bbs.net> <8763gmsmsu.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <gte1rn$8q4$2@optima7.xanadu-bbs.net> Subject: Re: ISC Newsgroups - Unmatched ) Date: Fri, 01 May 2009 00:37:59 -0500 From: "John F. Morse" <xanadu.bbs@example.invalid> References: <gt3blo$khr$1@optima7.xanadu-bbs.net> <gt3ir3$aqe$1@news.trigofacile.com> <gt4mr1$qmh$1@optima7.xanadu-bbs.net> <gt4s5q$ggn$1@news.trigofacile.com> <gt5afd$vis$1@optima7.xanadu-bbs.net> <gt67c8$vqa$1@news.trigofacile.com> <gtba4u$hoh$1@optima7.xanadu-bbs.net> <8763gmsmsu.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.ams.giganews.com!nntp.giganews.com!newsfeed20.multikabel.net!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder3.xlned.com!feeder.news-service.com!nntp.club.cc.cmu.edu!74.222.216.191.MISMATCH!optima7.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 66 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: optima7.xanadu-bbs.net 1241156279 9028 192.168.89.210 (1 May 2009 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Fri, 1 May 2009 05:37:59 +0000 (UTC) User-Agent: Thunderbird 2.0.0.21 (X11/20090318) In-Reply-To: <8763gmsmsu.fsf@windlord.stanford.edu>