delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/08/17:35:10

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 <ryanjohn AT ece DOT cmu DOT edu>
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?
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019