Subject Re: [firebird-support] Gsec output to stderr
Author Milan Babuskov
Stefan Heymann wrote:
>> Does anybody know why (Firebird 1.5's) gsec writes normal output to stderr
>> instead of stdout?
>
> It's the same with GBAK (and probably all other G* tools). I have no
> clue why they decided to do that.

Maybe the idea was to enable GBAK to write the backup file to stdout, so
you can redirect it to some other program. For example, on-the-fly
backup and compress:

gbak -b database.fdb | gzip backup.gz -

This could be usable if you have very big databases and not too much
disk space. One can even redirect the backup to another machine like
that (using scp or whatever).

--
Milan Babuskov
http://www.flamerobin.org