🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #165466

Re: vim macro for [slrn] -was- Re: Way to remove ad sig?

#165466
From: Blinky the Shark
Date: Sun, 17 Apr 2005 03:15
34 lines
2946 bytes
W. Citoan wrote:

> Blinky the Shark wrote:

>> >:nmap <F9> gg/^>-- <CR>maG?^-- <CR>kv`ad

>>  That works for this kind of quoting: >-- 

>>  But if quoting editor adds a space:  > -- 

>>  the macro doesn't pick it up.  Anyone got a simple tweak for making
>>  it find either style of quoting with its first search? 

>    :nmap <F9> gg/^>\s\=-- <CR>maG?^-- <CR>kv`ad

> Will match 0 or 1 spaces between the ">" and "-".

> If you want to match more than 1, change the "\=" to "*" for any
> number of whitespace characters or replace it with "\{,m}" where m
> (your choice of actual number) is the maximum number to match if you
> want to limit it.

And note that I wrote the original, there, per a request for deleting
from the first once-quoted sig delimiter, as requested.  Here, if it's a
*valid* sig delimiter, then it should not be present.  I think requester
may have meant the first *invalid* sig delimiter (probably "--[NO space]".
If so first search should not include the space after the pair of hyphens.
Can't check for *all* of the *in*valid not-delimiters that bozos come up
with instead of real ones.

-- 
Blinky         Linux Registered User 297263
Support The Usenet Improvement Project 2005
Info:   http://blinkynet.net/comp/uip5.html
Technical Details
Message-ID: <slrnd63l6j.5b2.no.spam@thurston.blinkynet.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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Xns9634AA90AC0A8sultanofcyberhotmail@38.119.71.210> <slrnd5j8tt.5jc.no.spam@thurston.blinkynet.net> <Xns9634C961159B8sultanofcyberhotmail@38.119.71.210> <slrnd5jk5r.92e.dcmoose@moosemeat.ca.INVALID> <slrnd5loeq.4bf.pjr@nntp.petitmorte.net> <slrnd5lpre.564.no.spam@thurston.blinkynet.net> <slrnd5lsfi.4bf.pjr@nntp.petitmorte.net> <slrnd5lvqg.564.no.spam@thurston.blinkynet.net> <slrnd5m2j2.4bf.pjr@nntp.petitmorte.net> <slrnd5m3do.eo7.no.spam@thurston.blinkynet.net> <slrnd5m70r.4bf.pjr@nntp.petitmorte.net> <slrnd61ipg.g3c.no.spam@thurston.blinkynet.net> <slrnd62ul0.sar.no.spam@thurston.blinkynet.net> <slrnd63d0f.19g.wcitoan@wcitoan-via.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnd63l6j.5b2.no.spam@thurston.blinkynet.net>
Subject: Re: vim macro for [slrn] -was- Re: Way to remove ad sig?
Date: Sun, 17 Apr 2005 03:15:32 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <Xns9634AA90AC0A8sultanofcyberhotmail@38.119.71.210> <slrnd5j8tt.5jc.no.spam@thurston.blinkynet.net> <Xns9634C961159B8sultanofcyberhotmail@38.119.71.210> <slrnd5jk5r.92e.dcmoose@moosemeat.ca.INVALID> <slrnd5loeq.4bf.pjr@nntp.petitmorte.net> <slrnd5lpre.564.no.spam@thurston.blinkynet.net> <slrnd5lsfi.4bf.pjr@nntp.petitmorte.net> <slrnd5lvqg.564.no.spam@thurston.blinkynet.net> <slrnd5m2j2.4bf.pjr@nntp.petitmorte.net> <slrnd5m3do.eo7.no.spam@thurston.blinkynet.net> <slrnd5m70r.4bf.pjr@nntp.petitmorte.net> <slrnd61ipg.g3c.no.spam@thurston.blinkynet.net> <slrnd62ul0.sar.no.spam@thurston.blinkynet.net> <slrnd63d0f.19g.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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://blinkynet.net
Lines: 34
X-Trace: individual.net I8PQ4mWDkVoLUqcn4+ruzgOMGR4X8fkfHiRCFCG41dCJth5A29
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
User-Agent: slrn/0.9.8.1 (Linux)