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

Brian Schenkenberger, VAXman- system at TMESIS.COM
Sat Feb 9 05:33:28 PST 2013


Sampsa Laine <sampsa at mac.com> writes: 

So the full command would look something like: 

	$MCR NCP SHOW KNOWN NODES TO FOOBAR 	$EDIT/TECO FOOBAR.LIST
	<FS($(<a>$FS)$</a>)$;> 	[...something to quit TECO goes here...]

How do I exit TECO? 

EX$$

Also, if you need to put this into a script to do repeated edits of this
nature, you can put the TECo commands into the logical TEC$INIT.   Getting
the ESCAPE into a logical string is left as an exercise for the original
poster. ;)

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker       VAXman(at)TMESIS(dot)ORG

Well I speak to machines with the voice of humanity.



More information about the Hecnet-list mailing list