From: Pete F. <pet...@we...> - 2002-01-07 09:13:56
|
Kai Gro=DFjohann writes: > In particular, I'm interested in AIX, IRIX, and other exotic systems= . It works with sh, ksh, and bash on AIX 4.3.3, IRIX 6.5.5m, and Solaris 2.6. In all cases the output was O: stdout1 O: stdout2 E: stderr Although this seems to work I can't see it being guaranteed. In my experience, merging stderr with stdout sometimes merges lines from both. Using file descriptor 3 will not change matters. AFAIK there is nothing to say that a file or pipe shared by two descriptors will always switch nicely between them at ends of line. --=20 Pete Forman -./\.- Disclaimer: This post is originated WesternGeco -./\.- by myself and does not represent pet...@we... -./\.- opinion of Schlumberger, Baker http://petef.port5.com (new) -./\.- Hughes or their divisions. |