converting all the processing tables for a file to ASCII

John Esak john at valar.com
Tue Oct 26 12:18:45 PDT 2004



> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Jeremy
> Anderson
> Sent: Tuesday, October 26, 2004 12:02 PM
> To: Fplist (E-mail)
> Subject: converting all the processing tables for a file to ASCII
>
>
> I have a large number of processing tables currently stored in non-ASCII
> format.
>
> I have set ABE=ASCII.
>
> While this will convert processing tables to ASCII as they are modified,
> I'm feeling impatient.
>
> Is there any way to convert ALL the processing tables for a given file
> to ASCII?
>
> Thanks for any help you can give me.
>
> Jeremy
> --
> Jeremy Anderson			      jeremy (at) plunketts.net

Well, I hesitate to answer this... because you are going to have some
trouble with this, should all the tables you choose to update not be perfect
in all ways regarding syntax....

The rcabe program can be run from the command line... feeding it values with
redirected input.  I do something like this all the time in various shell
scripts.... You should try it with one file first, then implement something
like what I have below.... but the warning is if any process fails syntax,
you are left in "limbo-la-la-land" as to input/screen-display, etc.

Good luck, but you're on your own... :-)
John Esak


cd to-the-filepro-directory-you-want-updated
for name in prc.*
do
echo "3$name" >/tmp/newproc
echo "\033\033yynnx" >>/tmp/newproc
rcabe test -y "" < /tmp/newproc
done

P.S. - You can also use the -C and -CA flags to ret-tokenize the processing
tables... but you specifically enquired about .prc's.




More information about the Filepro-list mailing list