Article View: news.software.nntp
Article #73810Re: Adding new groups
From: John F. Morse
Date: Sun, 09 Jul 2006 11:49
Date: Sun, 09 Jul 2006 11:49
78 lines
3994 bytes
3994 bytes
Iulius wrote: > En réponse à John F. Morse : > >> However if I manually run: « egrep "^comp\." newsgroups > list-comp » >> then I do get a proper list of the comp hierarchy > > > Yes you are right! The « > » was missing; sorry. > >> I'm a little afraid to change this because I can see what the last >> two lines could do to my active file. > > > It creates all the official groups for the « comp.* » hierarchy and > deletes all the unofficial groups for the « comp.* » hierarchy. > > You can verify if you want. Take one of the group it wants to create and > verify it exists (on other news servers or on Google Groups). Do the > same for a group it wants to delete. > If you wish and are not sure, you can paste some lines of the result > of docheckgroups. > > By the way, the last checkgroups of the Big-Eight is : > > http://groups.google.com/group/news.announce.newgroups/msg/066534368aa87db5?dmode=source > > > > The newsgroups file of > <ftp://ftp.isc.org/pub/usenet/CONFIG/newsgroups> is > more up to date in fact (there were some « comp.* » groups which were > deleted > yesterday !). > >> Any idea what is missing? > > > I do not know. Could you paste the list it wants to > create/modify/delete ? I'll repost the passage again, with the lines in a better order: "Something is missing to save the file as « list » instead of « newsgroups » but I haven't had enough coffee yet to figure it out. ;-) "Perhaps the second line of the script should be « egrep "^comp\." newsgroups > list-comp »? "Any idea what is missing?" You replied: "Yes you are right! The « > » was missing; sorry." Peter Robinson also commented about the missing ">" in the shell command: "The first line should probably be "wget ftp://ftp.isc.org/pub/usenet/CONFIG/newsgroups > list "The '>' tells the shell to put the output of the wget command into a file called list." And I replied: "That sounded logical to me, but when I tried it, it didn't put anything into the file "list" and instead overwrote my current "newsgroups" file (I have a backup). ;-) "I'm curious as to where/why the "=> `newsgroups'" line is originating (ftp.isc.org?), and if it is the problem? I see the retrieve command specifying "newsgroups" from the remote site, so wget must be defaulting to using the same filename to save the downloaded file?" The concern is why "newsgroups" is the filename and not "list"? Actually, "list" is created (touched) but is an empty file. -- John
Technical Details
Message-ID:
<r36sg.348242$Fs1.456@bgtnsc05-news.ops.worldnet.att.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mailReferences:
<mqqrg.333436$Fs1.231735@bgtnsc05-news.ops.worldnet.att.net> <87ac7lgvlb.fsf@windlord.stanford.edu> <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net> <e8nv4e$t4f$1@smilodon.ecp.fr> <4yOrg.341632$Fs1.20639@bgtnsc05-news.ops.worldnet.att.net> <e8orj5$379$1@smilodon.ecp.fr>Show Full Headers
Complete Article Headers
Message-ID: <r36sg.348242$Fs1.456@bgtnsc05-news.ops.worldnet.att.net> Subject: Re: Adding new groups Date: Sun, 09 Jul 2006 11:49:43 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> References: <mqqrg.333436$Fs1.231735@bgtnsc05-news.ops.worldnet.att.net> <87ac7lgvlb.fsf@windlord.stanford.edu> <pjJrg.106021$mF2.8602@bgtnsc04-news.ops.worldnet.att.net> <e8nv4e$t4f$1@smilodon.ecp.fr> <4yOrg.341632$Fs1.20639@bgtnsc05-news.ops.worldnet.att.net> <e8orj5$379$1@smilodon.ecp.fr> 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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail Reply-To: xanadu.bbs@invalid.net Organization: Xanadu BBS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <e8orj5$379$1@smilodon.ecp.fr> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Lines: 78 NNTP-Posting-Host: e03f46998da0e5a991164368915baae9 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1152445783 NNTP-Posting-Date: Sun, 09 Jul 2006 11:49:43 GMT