From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <09c001c435cf$7cfe00a0$265d7d50@SOMA> From: "boyd, rounin" To: <9fans@cse.psu.edu> References: <4702a51b5b45f9766411fc8b0e667243@mteege.de> Subject: Re: [9fans] sam and stdin again MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Sun, 9 May 2004 16:11:04 +0200 Topicbox-Message-UUID: 74fb7652-eacd-11e9-9e20-41e7f4b1d025 > #!/bin/rc > cat foo.txt | [3=1] sam -d /fd/3 << '!' > w /fd/1 > ! i don't think you want do it with a pipe based redirection. this does what you want: brahma% cat s #!/bin/rc echo foo | >[3=0] sam -d /fd/3 >[2] /dev/null <