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

Dan B dibi58 at gmail.com
Fri Feb 8 21:14:27 PST 2013


Would not be easier to use vi, (maybe was vim?,) ? I don't remember
how it ended up there, but we had vi on all VMS boxes, it is the same
syntax of sed and ed, like 1,$s/something/somethingelse/

On 2/8/13, Sampsa Laine <sampsa at mac.com> 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



More information about the Hecnet-list mailing list