On Fri, Jan 11, 2013 at 09:54:54AM +0000, Lester Caine wrote:
> 
> *IS* the problem described simply documentation. Since the functions are 
> available in various OS's, 'stdout' seems reasonable to me ... I expect it to 
> work on Linux but probably due to coming from a windows background?

On unix systems, it is a widely respected convention that telling a
command to write to standard output or read from standard input is done
either by omitting the file name or by using "-". Using a string like
"stdin" or "stdout" which looks like a normal filename is really
unusual, unexpected and surprising. I remember I've been also very
surprised when I found out (or rather when I was told).

However, as gbak has been working this way for a long time, I guess
properly documenting the behaviour should be sufficient. After all, the
risk that someone would accidentally name their backup file "stdin" or
"stdout" is very low.

                                                         Michal Kubecek


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to