πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #239830

Re: [slrn] Multiple commands in 'editor_command' variable

#239830
From: Adam Funk
Date: Tue, 16 Feb 2010 11:10
26 lines
2318 bytes
On 2010-02-16, Ε ime Ramov wrote:

> * Mike Yetto <myetto1@nycap.invalid> [2010-02-16 00:07+0100]:
>> That approach was my first thought, but where's the fun in solving the
>> problem so quickly?
>
> I guess slrn doesn't support either the && or ; notation, or having two
> %s placeholders.

I suspect (but I'm not sure) that slrn does the substitution (there's
also a %d for line number [1]) and then passes the result to the shell
in such a way that the shell expects one command with arguments rather
than a "line" of shell commands.  (But I could be wrong.)

I think there's a technical term for this, and would appreciate it if
anyone can refresh my memory.


[1]
http://slrn.sourceforge.net/docs/slrn-manual-6.html#ss6.20


-- 
In the 1970s, people began receiving utility bills for
-Β£999,999,996.32 and it became harder to sustain the 
myth of the infallible electronic brain.  (Stob 2001)
Technical Details
Message-ID: <23bq47xi7e.ln2@news.ducksburg.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.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!nf02.dk.telia.net!starscream.dk.telia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnhnjefc.erc.s@ramov.com> <slrn20100215165147.95.twooffive@may.eternal-september.org> <slrnhnjib7.f9r.s@ramov.com> <slrn20100215174055.960.twooffive@may.eternal-september.org> <slrnhnjk0a.fj7.s@ramov.com> <slrn20100215180015.194.twooffive@may.eternal-september.org> <slrnhnkr4o.fmq.s@ramov.com>

Show Full Headers
Complete Article Headers
Message-ID: <23bq47xi7e.ln2@news.ducksburg.com>
Subject: Re: [slrn] Multiple commands in 'editor_command' variable
Date: Tue, 16 Feb 2010 11:10:58 +0000
From: Adam Funk <a24061@ducksburg.com>
References: <slrnhnjefc.erc.s@ramov.com> <slrn20100215165147.95.twooffive@may.eternal-september.org> <slrnhnjib7.f9r.s@ramov.com> <slrn20100215174055.960.twooffive@may.eternal-september.org> <slrnhnjk0a.fj7.s@ramov.com> <slrn20100215180015.194.twooffive@may.eternal-september.org> <slrnhnkr4o.fmq.s@ramov.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.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!nf02.dk.telia.net!starscream.dk.telia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: $CABAL
Lines: 26
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 0ZsaPkOyCUdRemkPOq2l9QKDuvPR22uLxxVdZfFMBNU2b/k8vA
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:K6nUYhFvgpiTMliSRG1HS+mFyXs=
 sha1:TjwOG2g7e8IbJaXg/hwF6QZgDSk=
User-Agent: slrn/pre1.0.0-16/mm/ao (Ubuntu Intrepid)
X-Original-Bytes: 2058