🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Bltz Fsck Sun, 14 Mar 2004 06:18
slrn shuffles newsrc
#144903
Author: Bltz Fsck
Date: Sun, 14 Mar 2004 06:18
9 lines
1143 bytes
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?

thanks,

Bill
Re: slrn shuffles newsrc
#145065
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads