🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #28167

Re: Like trn, but without .newsrc?

#28167
From: Larry W. Virden
Date: Sat, 07 Dec 1996 00:00
20 lines
1429 bytes

According to Steven King <steve@pshrink.chi.il.us>:
:> perl -e 'while (<>) {print unless /\!/}' < ~/.newsrc.backup > ~/.newsrc
:
:    grep -v '!' .newsrc.backup > .newsrc
:
:Or even:
:
:    grep ':' .newsrc.backup > .newsrc

Perhaps because grep on most systems is broken and when you do this results
in a broken .newsrc file.
-- 
:s Larry W. Virden                 INET: lvirden@cas.org
:s <URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
:s Unless explicitly stated to the contrary, nothing in this posting should
:s be construed as representing my employer's opinions.

Technical Details
Message-ID: <58adqp$jo2@srv13s4.cas.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <5818su$e6c@news2.cais.com> <slrn5a9j0q.18d.erisson@kallisti.sw-tech.com> <585jlp$hi4@pshrink.chi.il.us>

Show Full Headers
Complete Article Headers
Message-ID: <58adqp$jo2@srv13s4.cas.org>
Subject: Re: Like trn, but without .newsrc?
Date: Sat, 07 Dec 1996 00:00:00 +0000
From: lwv26@cas.org (Larry W. Virden)
References: <5818su$e6c@news2.cais.com> <slrn5a9j0q.18d.erisson@kallisti.sw-tech.com> <585jlp$hi4@pshrink.chi.il.us>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 202772590
Content-type: text/plain; charset=US-ASCII
Organization: Nedriv Software and Shoe Shiners, Uninc.
Mime-version: 1.0
Reply-to: lvirden@cas.org
Newsgroups: news.software.readers
Originator: lwv26@cas.org (Larry W. Virden)
X-newsposter: Pnews 4.0-test45 (19 Oct 96)