[Info-vax] Text processing examples with Fortran requested

Richard B. Gilbert rgilbert88 at comcast.net
Sun Nov 15 21:40:27 EST 2009


Michael Moroney wrote:
> Speaking of text manipulation, I'll ask this, though I know it's a real
> shot in the dark.
> 
> Does anyone know of any tools to manipulate VAX Macro-32 code?  By 
> "manipulate" I mean to find instructions with specific addressing modes
> or do things like convert all word instructions whose destination is a
> register to longword equivalent and find all MOVAx instructions whose base
> is R7, all without being fooled by commented out lines, of course.
> 
> I know I'll have to write individual tools, and will have to learn
> one of those text manipulation "languages", but I figure I'd ask anyway.
> 
> I have to deal with thousands of lines of the most gawdawful macro-32
> code ever created.
> 
> 

Grep or awk,nawk,gawk should be able to do that sort of job if you can 
compose a regular expression that will match what you are looking for.
There are VMS versions of both grep and gawk.




More information about the Info-vax mailing list