🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7713

Backslashes in control.ctl

#7713
From: Erland Sommarskog
Date: Sat, 18 May 1996 00:00
37 lines
1919 bytes
This is probably a stupid question, because I am overlooking something
obvious, but here it goes.

In the README for the PGP pacth to INN, Dave Lawrence suggests the following
control.ctl excerpt:

   newgroup:tale@uunet.uu.net:\
   comp.*|humanities.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*:\
   verify-news.announce.newgroups
   rmgroup:tale@uunet.uu.net:\
   comp.*|humanities.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*:\
   verify-news.announce.newgroups

But as I understand the place where you read control.ctl is in parsecontrol,
on the following line:

   ${EGREP} "^(${PROG}|all):" <${CTLFILE} >${TEMP}

But not even GNU egrep 2.0 - which is what ${EGREP} translates to at
this place, takes the backslash in regard so all that gets into the
temp file is the first line, and thus not the group pattern.

But I would not expect Dave Lawrence to put something in his README
without testing it, and if it was such an obvious mistake several
people would have pointed it out to him by now and he would have 
corrected it. As I know his mailbox is under constant overload, I
rather ask here, without bothering by something as trivial as this.
Because I am overlooking something, am I not?


--
Erland Sommarskog, Stockholm, sommar@algonet.se
F=F6r =F6vrigt anser jag att QP b=F6r f=F6rst=F6ras.
B=65sid=65s, I think QP should b=65 d=65stroy=65d.

Technical Details
Message-ID: <4nl0iu$5cg@epimetheus.algonet.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <4nl0iu$5cg@epimetheus.algonet.se>
Subject: Backslashes in control.ctl
Date: Sat, 18 May 1996 00:00:00 +0000
From: sommar@algonet.se (Erland Sommarskog)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 155477977
Organization: BF Beckasinen 13 u.p.a.
Nntp-posting-user: a71a8b9987b59d0a1
Newsgroups: news.software.nntp