On 8 Feb 2013, at 19:23, Sampsa Laine <sampsa at mac.com> wrote:
On 9 Feb 2013, at 02:05, Johnny Billquist <bqt at softjar.se> wrote:
On 2013-02-09 00:59, Sampsa Laine wrote:
I'm thinking of tweaking the HECNET infoservice* on RHESUS, and figured it'd be
nice if the nodes in the output of NCP SHOW KNOWN NODES were hyperlinks.
On Unix I would just replace all the "(" characters with an opening <a> +
"(" tag and all the ")" with a closing </a> tag + ")"
using sed.
What's the correct DCL way to do this?
sampsa
* This is the page I'm thinking of tweaking:
http://rhesus.sampsa.com/cgi-bin/hecnetinfo/hecnetinfo.com
TECO? :-)
<FS($(<a>$FS)$</a>)$;>
But I don't think just a <a> tag would be enough, would it? Wouldn't you
want a href in there, and so on?
Of course, but I left that out for the sake of brevity. How do I invoke TECO on VMS?
I've only heard apocryphal tales of it's less than simple syntax, never actually
used it..
I believe edit/teco should work.
sampsa
--
Cory Smelosky
http://gewt.net/ Personal stuff!
http://gimme-sympathy.org/ My permanently-a-work-in-progress pet project.