Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > news.software.nn > #48 > unrolled thread
| Started by | gaussianblue <gaussianblue@asymptote.invalid> |
|---|---|
| First post | 2024-10-08 22:06 +0000 |
| Last post | 2024-10-10 16:06 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to news.software.nn
Keeping track of news groups you posted last gaussianblue <gaussianblue@asymptote.invalid> - 2024-10-08 22:06 +0000
Re: Keeping track of news groups you posted last Julius Bernotas <gaussianblue@tilde.pink> - 2024-10-10 16:06 +0000
| From | gaussianblue <gaussianblue@asymptote.invalid> |
|---|---|
| Date | 2024-10-08 22:06 +0000 |
| Subject | Keeping track of news groups you posted last |
| Message-ID | <lmlommFoh91U1@mid.dfncis.de> |
Hello dear nn user community. I'm just curious about what you do to keep track of the news groups you've posted last. There are 23197 news groups I've subscribed to. Sometimes the following happens to me: I post follow-ups to a few groups. Then I just can't find these groups again. And I'm annoyed, because I want to check if someone has replied.
[toc] | [next] | [standalone]
| From | Julius Bernotas <gaussianblue@tilde.pink> |
|---|---|
| Date | 2024-10-10 16:06 +0000 |
| Message-ID | <lmqcboFfi2jU1@mid.dfncis.de> |
| In reply to | #48 |
ram@zedat.fu-berlin.de (Stefan Ram) writes:
>gaussianblue <gaussianblue@asymptote.invalid> wrote or quoted:
>>Hello dear nn user community. I'm just curious about what you do
>>to keep track of the news groups you've posted last.
> Ok, I'm not an nn user, but I'd do this:
> For the following, I assume a UN*X or Linux environment,
> but the commandline tools used below should be available
> for many other operating systems too.
For my part I must say I'm not a UNIX guru. I'm on an
up-to-date Gentoo GNU/Linux distribution. And happily
using what the Gentoo developers worked hard to put together.
> 0.
> Make a backup of your current nn init file. I assume, you regulary
> make backups of all files.
> 1.
> Use "record" in you nn "init" file to record postings into a file.
> Let's call this file the "record file".
> 2.
> Instead of calling "nn" directly call it from a script from now on.
> Let's call this script the "script file".
> 3.
> At the start of the script file, before calling "nn", use
> "grep" to get the "Newsgroups:" lines from the record file,
> possibly abbreviating the output using "tail -999".
> 4.
> Now process the output of the preceding step with something like
>tac | cut -d ' ' -f2 | cut -d ',' -f1 |
>awk '{if ($0 in s){}else print;s[$0]=1;}'
> (this is one single line, folded for this post).
> This will give you a list of the newsgroups you posted to with
> the most recent newsgroup at the top.
> 5.
> Save this as a temporary file.
> Let's call this file the "temporary file".
> 6.
> Now use "cat" to concatenate this temporary file directly behind your
> previous nn init file (after its end) which previous nn init file
> should end with the line "sequence", giving your new nn init file.
> But keep a copy of the previous nn init file, for repeated executions
> of this step.
> Now, your new nn init file ends with "sequence" followed by the list
> of newsgroups from step 4.
> All steps from 3. to 6. are done in the script file each time before
> "nn" is actually called.
> 7.
> Now, nn should present you the newsgroups in the order you posted
> to them with the newsgroup you posted to most recent shown first.
[toc] | [prev] | [standalone]
Back to top | Article view | news.software.nn
csiph-web