Converting old file pro processing tables

Jay R. Ashworth jra at baylink.com
Wed Jul 26 12:14:19 PDT 2006


On Wed, Jul 26, 2006 at 12:35:38PM -0400, J. Ryan Kelley wrote:
> saving them, I was hoping I could use some sort of filepro utility would 
> allow me to just port all of these files over, I looked at the 
> documentation for cabe and only found flags to create tokenization 
> tables for a processing table from the prompt, not to recreate the 
> processing table in it's plain text form....any suggestions?  I'm 
> running fp 5.0.13R4 on Solaris.

You can wrap a script around dcabe that will walk the directories and
the prc files, and "recompile" everything, since dcabe will accept
piped data on it's stdin.  (Or would back in the 4.1 - 4.5 days; I
assume it still will.)

Just look at the keys you have to hit (and be careful about "duplicate
definition; I think I used the SPACE key since it cleared that error,
but didn't break the flow) and then just do something like

	echo "^VESC^VESCYY NN" | dcabe $DBNAME $PRCNAME

or whatever the appropriate keys are (just type them raw into the echo
statement, escaping with Ctrl-V where necessary), and having stripped
"prc." off the PRCNAME beforehand in the loop.

I'm absolutely certain I can't conveniently locate the script I did
this in originally; it's been 15 years, but if that's not enough hint I
could flesh it out for you when I'm a little less pressed.

If Mark or Brian doesn't beat me to it.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274

	Fanfic: read enough, and you'll loose your mind.  --me


More information about the Filepro-list mailing list