Article View: news.software.nntp
Article #33773need a script for pruning a new ACTIVE file
From: Charles Wilkins
Date: Sun, 13 Dec 1998 00:00
Date: Sun, 13 Dec 1998 00:00
21 lines
1312 bytes
1312 bytes
Hi,
I am using inn-1.7.2
I am also using /usr/lib/news/bin getlist -h hostname > active to pull down
a peer's active file.
I want to prune all of the entries of this file down to this format:
groupname 0000000000 0000000001 y
Here is a script that I found that doesnt work for me. It is supposed to
convert the contents of a file by the name of upstream.active into your
starting active file. On my system it just empties the contents of the
active file.
cat upstream.active | awk 'amp;#123; printf("%s 0000000000 0000000001
%s\n", $1 $4) amp;#125;' > active
Any comments or suggestions would be greatly appreciated!
Thanks to all who reply.
Charles Wilkins
Technical Details
Message-ID:
<01be26eb$905963e0$2b6e60cf@the-helm.pcscs.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.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <01be26eb$905963e0$2b6e60cf@the-helm.pcscs.com> Subject: need a script for pruning a new ACTIVE file Date: Sun, 13 Dec 1998 00:00:00 +0000 From: "Charles Wilkins" <chas@pcscs.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.mbox.zip!not-for-mail X-Deja-AN: 421954573 X-Trace: 913593490 MM7JC2OQC6E2BCF60 usenet42.supernews.com Organization: Practical Computer Solutions Newsgroups: news.software.nntp X-Complaints-To: newsabuse@remarQ.com