Export a Unix variable named File.
    Kenneth Brody 
    kenbrody at spamcop.net
       
    Tue Aug  1 12:36:02 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.
"-p $file" on the command line works because it's the command line and
the shell expands "$file" before filePro ever sees it.
You need:
    export ascii exp=("/tmp/" { getenv("file")) r=\n f=, -x
    
    
More information about the Filepro-list
mailing list