[HECnet] Easiest way to do 'sed' type search and replace on VMS...
Johnny Billquist
bqt at softjar.se
Fri Feb 8 17:21:21 PST 2013
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
More information about the Hecnet-list
mailing list