re-tokenize many processing tables

Jay Ashworth jra at baylink.com
Fri Feb 28 13:46:13 PST 2014


----- Original Message -----
> From: "Richard Williams" <richard at appgrp.net>

> Does anyone have a quick way to re-tokenize many processing tables
> with a single command?
> 
> I am making changes to many tables using sed. It works great in a
> test,
> but I am left with having to open and re-ave all of these tables to
> generate a new tok.filename.
> 
> Any help woud be appreciated.

When I had to do this, 20 years ago, I wrote a script that did an echo 
command into rcabe, since there weren't enough switches to rcabe to do
it from the commandline back them.  I had to get froggy with it, cause 
there was at least one question that was optional; turned out a <SPACE> 
in the echo command solved the problem, even though it probably 
shouldn't have.

I would think that nowadays, you could in fact do it from the command
line.  Worst case, you'd have to do something like

$ cd /appl/filepro/$TARGET
$ for i in `ls prc.* | sed -e 's/prc.//'` do; rcabe $TARGET $i -whatever; done

Cheers,
-- jra
-- 
Jay R. Ashworth                  Baylink                       jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates       http://www.bcp38.info          2000 Land Rover DII
St Petersburg FL USA      BCP38: Ask For It By Name!           +1 727 647 1274


More information about the Filepro-list mailing list