OT - need script help

Nancy Palmquist nlp at vss3.com
Thu Sep 20 10:58:38 PDT 2012


Tony,

I Have a script that will read all the prc. tables in a filepro folder 
and check for a string in each one, showing you all the matches.  I use 
it to find lookups to certain files and variables. anything that grep 
can find.  It would find the foobear entries.

Of course, the process tables need to be in ASCII for it to work. It 
might help.  I remember starting to write something to change the \KB to 
the GUI form, but as I find the logic, I think it was applied to show 
fields that I had in a database not a prc. table.

This should not be a difficult thing except that it has to go through 
each process table, line by line.  Unless your code is extremely 
consistent, and that is unlikely because you developed this big a 
project over time, you may run into issues doing this without human 
intervention and break things.

I have found that by getting a list of occurrences, I can quickly pop in 
and out of those tables to make the corrections and I can make sure I 
got them all.

Let me know if it might come in handy, I will send it along.

Nancy



On 9/20/2012 8:36 AM, Tony Freehauf wrote:
> need help creating a script to change some text in Linux & SCO Unix 5.06
> need to be able to, for example, change foobear to foodog in ASCII prc
> tables.
> there will be hundreds of prc tables in many different filepro files to
> change
> any help will be appreciated
> thanks
> old tony
>

-- 
Nancy Palmquist         MOS & filePro Training Available
Virtual Software Systems    Web Based Training and Consulting
PHONE: (412) 835-9417           Web site:  http://www.vss3.com



More information about the Filepro-list mailing list