🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #73450

Re: slrn signatures

#73450
From: J.B. Nicholson-Owens
Date: Mon, 12 Mar 2001 16:19
13 lines
1452 bytes
Martijn van Buul wrote:
> Store this in a file somewhere, and 'inherit' it from your .slrnrc

As a suggestion, try using hashes (associative arrays) instead.

  implements ("my");
  static variable signature = Assoc_Type[String_Type, get_variable_value ("signature")];
  signature["group.regex.here"] = "/path/to/file.txt";

Then you could easily substitute the group name or cycle through them
matching a regex against a group name.  Either way you'd get either a
specific name of a file or a reasonable default.
Technical Details
Message-ID: <slrn9aptmh.7l.jbn@forestfield.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!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <slrn9apf7u.8o1.boll@bilbo.tolkien.dk> <slrn9api3v.irt.pino+news_software_readers@mud.stack.nl>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9aptmh.7l.jbn@forestfield.org>
Subject: Re: slrn signatures
Date: Mon, 12 Mar 2001 16:19:59 +0000
From: jbn@forestfield.org (J.B. Nicholson-Owens)
References: <slrn9apf7u.8o1.boll@bilbo.tolkien.dk> <slrn9api3v.irt.pino+news_software_readers@mud.stack.nl>
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!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 12
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 984413999 2187002 208.216.67.173 (16 [35848])
User-Agent: slrn/0.9.6.4 (Unix)