Article View: news.software.readers
Article #28180Re: Like trn, but without .newsrc?
From: Bruce A. Templeton
Date: Sat, 07 Dec 1996 00:00
Date: Sat, 07 Dec 1996 00:00
29 lines
1577 bytes
1577 bytes
In article <58adqp$jo2@srv13s4.cas.org>,
Larry W. Virden <lvirden@cas.org> wrote:
>
>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.
Yeah right. What systems (and what greps) are you talking about? Any
system that can't handle such a strenuous grep task can't be considered a
working system. If you honestly have a grep that can't handle this, you
had better install GNU grep for sanity's sake.
ftp://prep.ai.mit.edu/pub/gnu/grep-2.0.tar.gz
-Bruce
--
Bruce A. Templeton brucet@engr.sgi.com
Silicon Graphics Inc. (415) 933-3872
Technical Details
Message-ID:
<58ajk5$2dm@gazette.engr.sgi.com>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-mailReferences:
<5818su$e6c@news2.cais.com> <slrn5a9j0q.18d.erisson@kallisti.sw-tech.com> <585jlp$hi4@pshrink.chi.il.us> <58adqp$jo2@srv13s4.cas.org>Show Full Headers
Complete Article Headers
Message-ID: <58ajk5$2dm@gazette.engr.sgi.com> Subject: Re: Like trn, but without .newsrc? Date: Sat, 07 Dec 1996 00:00:00 +0000 From: brucet@engr.sgi.com (Bruce A. Templeton) References: <5818su$e6c@news2.cais.com> <slrn5a9j0q.18d.erisson@kallisti.sw-tech.com> <585jlp$hi4@pshrink.chi.il.us> <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 X-Deja-AN: 202780770 Organization: Silicon Graphics, Inc. Mountain View, CA Newsgroups: news.software.readers