Export a Unix variable named File.
Kenneth Brody
kenbrody at bestweb.net
Tue Aug 1 12:37:38 PDT 2006
Quoting George (Mon, 31 Jul 2006 15:22:00 -0700):
> I must be missing something here. I'm trying to export a new file name
> with each export run.
>
> Export ascii exp=/tmp/$file r=\n f=, -x
>
> Apparently export takes the $variable as a literal, while -p $file works
> just great.
The "-p $file" works on the command line because it is the command
line, where the shell expands it before filePro is even started.
To use an expression like this within filePro, you need:
export ascii exp=( "/tmp/" { getenv("file") ) r=\n f=, -x
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list