MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: run makecat with an input file





On Mon, 16 Aug 1999, Angelic Engel wrote:

> We are using Minivend for an Internet Provider to create small (standard) 
> stores. By doing this, we want to create stores via another (perl) process, 
> which means not via the command line. 
> We use FreeBSD, Perl5.004 and Minivend 3.12.
> 
> I tried using makecat with the next parameters:
> bin/makecat -f filename -catalogname thecatalog
> 
> The file that is included contains a lot of parameters like hostname etc.
> When I run makecat, the content of this file is not read and makecat still 
> asks for all the parameters. The only thing it does is reading the -f and the 
> filename, but it looks as if it does not handle the content of the file. 
> 
> Another solution is to get it running by giving the right parameters via the 
> input, but I would prefer a cleaner solution with parameter passing.
> 
> Has somebody used makecat in combination with a file that contains all 
> parameters? What is the best way to handle this?
> 

The way I went about this was to just redirect the input from a file
instead of the console.

makecat catname < settings

There is probably a better way, but this works fine for me.



Search for: Match: Format: Sort by: