🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80074

Re: docheckgroups -u throws error regrding egrep

#80074
From: Julien ÉLIE
Date: Sun, 01 Feb 2009 17:53
49 lines
2540 bytes
Hi Michael,

> docheckgroups throws an error if I'm trying to update the newsgroups
> file (-u):

No error without the "-u" flag?


> grep local.odd active newsgroups

Note that "docheckgroups -u" will not add local.odd to your active file.
It is "docheckgroups -u | mod-active" or "docheckgroups -u | sh".


> Anyone else seeing this error with FBSD or any other OS

On Debian Etch and BSDI BSD/OS 4.3.1, I have no problem:

% cat testfile | docheckgroups -u
# The following newsgroups are missing and should be added:
#
#       local.odd
#
# You can add them by executing the command(s):

        /home/news/bin/ctlinnd newgroup local.odd y

# The following newsgroups descriptions are missing and should be added:
#
#       local.odd       local test group
#
# The file /home/news/db/newsgroups has just been updated accordingly.

exit # so you can feed this message into the shell (as well as mod-active).

% grep ^local /home/news/db/newsgroups
local.odd               local test group




What is the result of "egrep --help"?

-- 
Julien ÉLIE

« -- Nous te torturons depuis des heures et ça ne te fait rien !
  -- Si ! Ça me fait passer le temps ! » (Astérix) 
Technical Details
Message-ID: <gm4njb$uj2$1@news.trigofacile.com>
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!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <gm4h6m$9r3$1@de-l.enfer-du-nord.net>

Show Full Headers
Complete Article Headers
Message-ID: <gm4njb$uj2$1@news.trigofacile.com>
Subject: Re: docheckgroups -u throws error regrding egrep
Date: Sun, 1 Feb 2009 18:53:46 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gm4h6m$9r3$1@de-l.enfer-du-nord.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!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 49
NNTP-Posting-Host: aaubervilliers-151-1-42-108.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1233510827 31330 83.112.25.108 (1 Feb 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sun, 1 Feb 2009 17:53:47 +0000 (UTC)
In-Reply-To: <gm4h6m$9r3$1@de-l.enfer-du-nord.net>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049