Article View: news.software.readers
Article #22834shell script to clean up .newsrc files?
From: Orjan Johansen
Date: Fri, 14 Jun 1996 00:00
Date: Fri, 14 Jun 1996 00:00
19 lines
1085 bytes
1085 bytes
In article <4ppmh7$rr1@panix3.panix.com>, Tom Betz <tbetz@panix.com> wrote: >A long time ago, in a Usenet far away, somebody wrote and posted >a shell script that went through .newsrc files and cleaned them up, >taking out all the commas and making every Newsgroup look like: > >comp.os.xenu: 1-982763 What about: #!/bin/sh cd mv .newsrc .newsrc~ sed -e 's/\([:!] [0-9]*\).*[,-]/\1-/' <.newsrc~ >.newsrc Greetings, ๏ฟฝrjan.
Technical Details
Message-ID:
<4pqoua$3j7@due.unit.no>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:
<4ppmh7$rr1@panix3.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <4pqoua$3j7@due.unit.no> Subject: shell script to clean up .newsrc files? Date: Fri, 14 Jun 1996 00:00:00 +0000 From: oerjan@lie.matstat.unit.no (Orjan Johansen) References: <4ppmh7$rr1@panix3.panix.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-mail X-Deja-AN: 160109856 Supersedes: <4pqomq$3i3@due.unit.no> Organization: Norwegian University of Science and Technology, Trondheim, Norway Newsgroups: news.software.readers