|
From: Kevin C. <co...@us...> - 2002-12-10 14:09:34
|
On Tuesday 10 December 2002 04:01, Michel Bouissou wrote: > Le Mardi 10 D=E9cembre 2002 10:20, Frank Lenaerts a =E9crit : > > > Maybe a "--batch" option or the like could be added to the command-= line > > > client, to tell it not to ask any questions and just process the > > > commands it receives in similar situations. > > > > I don't think this is necessary, as you have the -f option as Kevin > > suggested. > > Using here documents can make scripts much easier to read and understan= d > rather than having to use separate command files just for executing a > couple of EVMS commands. This is unnecessary complexity, and unnecessar= y > complexity must be avoided as much as possible. > > If one uses separate EVMS command files, he may have to create 3 or 4 > separate command files for being called by a single bash script, which = is > really unpractical. > > I know that "here documents" in such a situtation must simulate an > interactive dialog, but when done in batch, you may not always know whe= n > you will or will not receive warnings and confirmation messages -- this > even can vary from one batch execution to another. > > For this very reason it would be very useful to have a "--batch" option= for > the EVMS command line, that would mean "DON'T ASK. JUST DO IT." > > I believe this wouldn't be such a programming issue to implement, as EV= MS > probably already implements this behaviour when using "-f" command file= s. > > The batch option exists in many, many Unix usual commands for this very > reason. We have just recently added a "-b" option to the CLI. This option will fo= rce=20 the default choice on any interactive error messages. This will be availa= ble=20 in both the upcoming 1.2.1 release and the new 2.0 design, which should h= ave=20 an alpha-level release this month. --=20 Kevin Corry co...@us... http://evms.sourceforge.net/ |