🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #166566

Re: [slrn] Macro to delete block of text

#166566
From: Ian Petts
Date: Wed, 11 May 2005 01:51
20 lines
2084 bytes
On 2005-05-10, W. Citoan <wcitoan@NOSPAM-yahoo.com> wrote:
> I'm glad you got it working.  I am puzzled why you asked for something
> that would keep everything before the delimiter and delete what was
> after it when you actually wanted the reverse.  Oh well, I guess it
> was a learning experience...

I was initially thinking that I'd try a general all-purpose macro that I
could use to delete any block of text. So given different arguments, I
could delete from start to X, X to end, or X to Y.

This was harder than I was expecting (it's only my second s-lang script
after all - the first was just calling a couple of functions and binding
them to a key) so I decided to go with the less ambitious "get the thing
I wanted to do originally working and worry about the rest later."

Thanks again. I'll give enhanced version of the script a go next time
the scripting urge takes me  :-)

Regards,
Ian.
Technical Details
Message-ID: <slrnd82qet.d84.ipetts@lexx.pettsie.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.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news.tele.dk!news.tele.dk!small.news.tele.dk!lon-transit.news.telstra.net!lon-in.news.telstra.net!news.telstra.net!duster.adelaide.on.net!not-for-mail
References: <slrnd7vtch.bai.ipetts@lexx.pettsie.net> <slrnd804b3.2cg.wcitoan@wcitoan-via.supernews.com> <slrnd80eve.bc1.ipetts@lexx.pettsie.net> <slrnd82cfd.d84.ipetts@lexx.pettsie.net> <slrnd82gad.3ro.wcitoan@wcitoan-via.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnd82qet.d84.ipetts@lexx.pettsie.net>
Subject: Re: [slrn] Macro to delete block of text
Date: Wed, 11 May 2005 01:51:41 +0000
From: Ian Petts <ipetts@gmail.com_no_spam_thanks>
References: <slrnd7vtch.bai.ipetts@lexx.pettsie.net> <slrnd804b3.2cg.wcitoan@wcitoan-via.supernews.com> <slrnd80eve.bc1.ipetts@lexx.pettsie.net> <slrnd82cfd.d84.ipetts@lexx.pettsie.net> <slrnd82gad.3ro.wcitoan@wcitoan-via.supernews.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!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news.tele.dk!news.tele.dk!small.news.tele.dk!lon-transit.news.telstra.net!lon-in.news.telstra.net!news.telstra.net!duster.adelaide.on.net!not-for-mail
Newsgroups: news.software.readers
User-Agent: slrn/0.9.8.1 (Debian)
NNTP-Posting-Host: ppp58-146.lns1.cbr1.internode.on.net
X-Trace: duster.adelaide.on.net 1115777501 59.167.58.146 (11 May 2005 11:41:41
 +0950)
Lines: 20