Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: shell and output redirection

RE: shell and output redirection

From: <Ganesh.Raja_at_barclayscapital.com>
Date: Fri, 2 Jul 2004 19:57:21 +0100
Message-ID: <34D7360B56EFC0428F83565A3E1880E8F4BE30@LDNPSMEU002VEUA.INTRANET.BARCAPINT.COM>


They are Not Run ||'el... The utput of the first program is stored before the second is executed...

If you want to run in parrallel u need to use Named Pipes.

HTH Cheers,
Ganesh R

-----Original Message-----

From: Tanel P=F5der [mailto:tanel.poder.003_at_mail.ee]=20 Sent: 02 July 2004 19:51
To: oracle-l_at_freelists.org
Subject: OT: shell and output redirection

Hi!

When I redirect output from program a to program b using a shell pipe, when is the receiving procedure executed?

E.g.:

$ program1 | program2

When program1 outputs let say 3 rows after every millisecond and pipes them to program2, does program2 get executed on every output request? (what if there is a separate write request for every row?). Does program2 execute asynchronously or synchronously right after every write request on STDIO stream? Does program1 pass control over to program2 and return processing only after program2 has completed it's actions?

These are the questions that bury my mind this lovely Friday evening.... Tanel.



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html


For more information about Barclays Capital, please visit our web site at http://www.barcap.com.

Internet communications are not secure and therefore the Barclays=20 Group does not accept legal responsibility for the contents of this=20 message. Although the Barclays Group operates anti-virus programmes,=20 it does not accept responsibility for any damage whatsoever that is=20 caused by viruses being passed. Any views or opinions presented are=20 solely those of the author and do not necessarily represent those of the=20 Barclays Group. Replies to this email may be monitored by the Barclays=20 Group for operational or business reasons.




Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Fri Jul 02 2004 - 13:56:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US