X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4B70918F.1080400@ece.cmu.edu> Date: Mon, 08 Feb 2010 23:34:55 +0100 From: Ryan Johnson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Tee broken under process substitution? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi all, It appears that 'tee' can't handle process substitution as its target file. It works fine on my Solaris machine at work, and the coreutils info pages explicitly say it should work: solaris$ echo hi | tee >(cat) hi hi cygwin$ echo hi | tee >(cat) hi tee: /dev/fd/63: Bad file descriptor Does anyone have any ideas or workarounds? Unfortunately google tends to ignore three-letter words, so I couldn't determine if this has been reported/solved before... Thanks, Ryan -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple