Export a Unix variable named file.

Walter Vaughan wvaughan at steelerubber.com
Tue Aug 1 13:47:07 PDT 2006


George wrote:
>  
> 
> I must be missing something here.  I'm trying to export a unique file name
> with each invocation.
> Export ascii exp=/tmp/$filename r=\n f=, -x
> 
> Apparently export see' s the $variable as a literal file name...but then -p
> $filename works just fine in other scripts.
> 
> Anybody accomplished this in export?

I believe you have to do it similar to the following....

xx='insert function that generates your filename @pm,USER,SYSTEM,etc..
fn="/tmp/"{xx
export ascii exp=(fn) r=\n f=, -x

--
Walter
http://incubator.apache.org/ofbiz/


More information about the Filepro-list mailing list