🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259975

Re: [slrn] Modify signature based on newsgroup

#259975
From: aitch
Date: Sat, 16 Jan 2016 21:42
19 lines
1439 bytes
Lewis wrote:

> I've never seen that syntax. Interesting.

It's an associative array.  I thought it would be cleaner to keep the 
text inside the script, instead of reading from separate files.

> I just did a straight 
>
> echo .bork_sig > .signature_bork
> echo .foo_sig > .signature_foo
> echo $(~/bin/fortune ~/mysigs) > .signature
> echo .signature >> .signature_bork
> echo .signature >> .signature_foo

Shouldn't most of those echoes be cats?  :-)

-- 
aitch
Technical Details
Message-ID: <n7edgv$so8$1@news.mixmin.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.(126883).mbox.7z!not-for-mail
References: <slrnn8vlkv.1uv8.g.kreme@amelia.local> <slrnn918mb.hd9.jbn@forestfield.org> <n7cq9n$kpd$1@news.mixmin.net> <slrnn9kigr.3ig.g.kreme@amelia.local>

Show Full Headers
Complete Article Headers
Message-ID: <n7edgv$so8$1@news.mixmin.net>
Subject: Re: [slrn] Modify signature based on newsgroup
Date: Sat, 16 Jan 2016 21:42:56 +0000
From: aitch <foo@bar.invalid>
References: <slrnn8vlkv.1uv8.g.kreme@amelia.local> <slrnn918mb.hd9.jbn@forestfield.org> <n7cq9n$kpd$1@news.mixmin.net> <slrnn9kigr.3ig.g.kreme@amelia.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: Mixmin
Archive: no
Injection-Date: Sat, 16 Jan 2016 21:42:56 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="8019d3d8ff51b77c2deaca4d52685c4b9b24499e";
 logging-data="29448"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/1.0.2 (Linux)
Lines: 18
X-Received-Bytes: 1376
X-Received-Body-CRC: 852961737