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

Jordi Guillaumes i Pons jg at jordi.guillaumes.name
Fri Feb 8 16:56:23 PST 2013


El 09/02/2013, a les 1:53, Sampsa Laine <sampsa at mac.com> va escriure:

Actually, it'd be useful to drop both the parenthesis (i.e. "(" and ")") so I can prepend the proper href for the "(", I am totally out of my depth here, could you tell me what to change in the EDITCMD.EDT

Could you give me a sample of how do you want the line to be?

BTW it is really simple. The syntax is:

SUBST /before/after/ WHOLE

If "before" or "after" contain "/" then you must use another string separator, hence:

SUBST @before at after@ WHOLE




Jordi Guillaumes i Pons
jg at jordi.guillaumes.name
HECnet: BITXOV::JGUILLAUMES



More information about the Hecnet-list mailing list