Commands Possibly Using filePro File Names
Bob Stockler
bob at trebor.iglou.com
Thu Mar 31 06:29:42 PST 2005
On Thu, Mar 31, 2005 at 05:56:51AM -0600, Lerebours, Jose wrote:
| Bob posted:
[snip]
| > While most of them are associated with LOOKUP, it's possible
| > that the LOOKUP doesn't use an alias, so all are significant.
| >
| > I'm writing an AWK program to edit/change the filePro File Names
| > in all processing tables on a system, and wanted to save time by
| > not working on Processing Table lines where a filePro File Name
| > would not be of interest.
| >
| > This information lets me build a regular expression allowing me
| > to skip processing all lines where fPname1 won't possibly be
| > required to be changed to fPname2.
[snip]
|
| If you intend to swap file names from fpname1 to fpname2, why
| would there be an exeption? Of course, unless you intend to
| swap names only if used in certain fashion.
You don't understand the problem. I want to change nameA to nameB,
nameC to nameD, nameE to nameF ... nameY to nameZ, so I can skip
the processing that does that on processing table lines that can't
possibly have a filePro File Name on them.
| Here is a script you can use to get the job done:
[snip]
Thanks for the 182 line sed script, but it can't do what I want,
and using AWK I can do what I want in less than 100 lines, while
editing the table in place - without creating temporary files.
Bob
--
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).
More information about the Filepro-list
mailing list