🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #145065

Re: slrn shuffles newsrc

#145065
From: Sven Guckes
Date: Thu, 18 Mar 2004 20:38
33 lines
1897 bytes
* Keith <kilo_watt_radio@spam.a911553b> [2004-03-14]:
> Bltz Fsck <bjenkins@billjenkins.org>:
>> I've been using slrn and like it a lot, but I'd like
>> to have an alphabetical newsrc.  In the past I was
>> able to sort .jnewsrc > foo then rm .jnewsrc, and mv
>> foo .jnewsrc.  Now when I do that, then start slrn,
>> it puts the file right back into random order.
>> What am I missing?
>
> Hmm, Turn off the check
> for newgroups at start up:
>   set check_new_groups 0
> in ~/.slrnrc or slrnrc

one more possible situation:
maybe slrn was still running while you did this?
it'll overwrite the current "newsrc" file
with the data it has in mind.. err.. RAM.

and if you don't like temporary files then
you could also do this within your editor:

  $ vim -c '%!sort' -c wq ~/.newsrc
  "~/.newsrc" 179L, 57609C
  179 lines filtered
  "~/.newsrc" 179L, 57609C [w]
  Thanks for using Vim 602 . --Sven Guckes@vim.org!

homework:  do all this with the
inline editing of sed  and perl.

Sven
Technical Details
Message-ID: <2004-03-18T20-30-11@guckes.net>
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!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!antilope.in-berlin.DE!not-for-mail
References: <c30tep$ueb@library1.airnews.net> <105810u1pf1h33d@corp.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <2004-03-18T20-30-11@guckes.net>
Subject: Re: slrn shuffles newsrc
Date: Thu, 18 Mar 2004 20:38:40 +0000
From: Sven Guckes <usenet@guckes.net>
References: <c30tep$ueb@library1.airnews.net> <105810u1pf1h33d@corp.supernews.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!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!antilope.in-berlin.DE!not-for-mail
Newsgroups: news.software.readers
Lines: 32
Reply-To: Sven Guckes <usenet-reply@guckes.net>
NNTP-Posting-Host: antilope.in-berlin.de (192.109.42.66)
X-Trace: news.uni-berlin.de 1079642320 74577790 I 192.109.42.66 ([44059])
Mail-Copies-To: guckes-usenet-cc@guckes.net
User-Agent: slrn/0.9.8.0 (Linux)