Subject Re: [firebird-support] Re: gfix and gbak return codes in bash
Author Helen Borrie
At 08:42 PM 15/04/2004 +0000, you wrote:
>Hello Artur,
>thanks for your answer.
>do you mean i should do something like
>
>../gbak -parameters..... > gfix_result.log
>
>and grep gfix_result.log ?
>
>I think i tried this during my tests but did not get any result
>inside the file (was always empty).
>I will try again and let you know.

You need to pipe the output using the -v and -y switches - the -y switch
preceding a full path to the log file. And the log file must not exist
already; so you need to make your script either delete any file of your
(hard-coded) name, or generate a new name.

/heLen