[HECnet] Easiest way to do 'sed' type search and replace on VMS...

Sampsa Laine sampsa at mac.com
Fri Feb 8 17:52:39 PST 2013


Trying to figure out what's doing that. 

I'm probably actually going to make it an html table.....


sampsa






On 9 Feb 2013, at 03:51, Ian McLaughlin <ian at platinum.net> wrote:

Does it have to be double-spaced?

Ian

On 2013-02-08, at 5:34 PM, Sampsa Laine <sampsa at mac.com> wrote:

What do you guys think of the new look:

http://rhesus.sampsa.com/cgi-bin/hecnetinfo/hecnetinfo.com

I'll probably work a bit more on the formatting, am a bit sleep deprived and hung over at the moment though.

sampsa






On 9 Feb 2013, at 03:29, Johnny Billquist <bqt at softjar.se> wrote:

On 2013-02-09 02:26, Sampsa Laine wrote:
That's pretty nifty - but I realised that with a bit of python I can strip out the stuff that isn't really of interest to people such as the interface and next node etc.

Thanks for the help though, TECO still looks like modem line noise to me..:)

Of course, stripping off the noise in the line is just a few additional characters to that TECO program, you know... ;-)

	Johnny



sampsa






On 9 Feb 2013, at 03:21, Johnny Billquist <bqt at softjar.se> wrote:

On 2013-02-09 02:06, Sampsa Laine wrote:
Crap, just realised this won't work, I need to duplicate the strings i.e. one for the href, one for the actual text.

I'm just gonna write a little python script to do it..

This is what I was wondering already initially, hence my question about if you didn't want a little more than just the <a> for the tag...

Anyway, TECO to the rescue...

Hold on to your hat. Were we go. A complete TECO program for this. Replace all dollar signs with ESCAPE.

<fs($(<a href="hecnetinfo.com?q=$;.UAS)$-CQA,.XAI">$GAI</a>$>EX$$

Clear as a spring rain.

Let me know if you want me to explain it... ;-)

	Johnny

--
Johnny Billquist                                   || "I'm on a bus
                                                            ||   on a psychedelic trip
email: bqt at softjar.se                         ||   Reading murder books
pdp is alive!                                         ||   tryin' to stay hip" - B. Idol



-- 
Johnny Billquist                                   || "I'm on a bus
                                                            ||   on a psychedelic trip
email: bqt at softjar.se                         ||   Reading murder books
pdp is alive!                                         ||   tryin' to stay hip" - B. Idol



---
Filter service subscribers can train this email as spam or not-spam here:     http://my.email-as.net/spamham/cgi-bin/learn.pl?messageid=F4D2A6A6725811E2857C753993ED0201



More information about the Hecnet-list mailing list