🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #3302

Re: Help with RN macro (can they be interactive)

#3302
From: Per Hedeland
Date: Wed, 10 Feb 1993 23:51
24 lines
1692 bytes
In article <C28LpD.Fpn@world.std.com> levin@world.std.com (Levin F Magruder) writes:
>I know; what I'm asking is probably obvious or obviously not 
>possible, but I'm a unix ignoramus.

Neither, I'd say, but certainly doable...

>Often, I want to do some rn command like
>/[^a-z]tin[^a-z]/:=:j
>to wipe out all the articles about tin but not "tingling sensations".
>
>Is there are way to write a macro that will ask you what phrase you
>want instead of tin? 

Try this:

@j %(%"Junk string? "=^\(..*\)$?/\[\^a-z\]%1\[\^a-z\]/\:=\:j\n)

If you just hit return in response, it does nothing. Should probably
have some safeguard to only have effect in the right modes...

--Per Hedeland
per@erix.ericsson.se  or
per%erix.ericsson.se@sunic.sunet.se  or
..uunet!erix.ericsson.se!per
Technical Details
Message-ID: <1993Feb10.235131.2568@eua.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!news.claremont.edu!ucivax!news.service.uci.edu!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!per
References: <C28LpD.Fpn@world.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <1993Feb10.235131.2568@eua.ericsson.se>
Subject: Re: Help with RN macro (can they be interactive)
Date: Wed, 10 Feb 1993 23:51:31 GMT
From: per@erix.ericsson.se (Per Hedeland)
References: <C28LpD.Fpn@world.std.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!news.claremont.edu!ucivax!news.service.uci.edu!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!per
Newsgroups: news.software.readers
Sender: news@eua.ericsson.se
Nntp-Posting-Host: super.eua.ericsson.se
Nntp-Posting-User: per
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Lines: 24