Re: Tee broken under process substitution?

2010-02-14 Thread Christopher Faylor
On Mon, Feb 08, 2010 at 11:08:15PM +, Greg Chicares wrote: >On 2010-02-08 22:34Z, Ryan Johnson wrote: >> >> cygwin$ echo hi | tee >(cat) >> hi >> tee: /dev/fd/63: Bad file descriptor > >I don't know a workaround, but FWIW this looks similar: > http://cygwin.com/ml/cygwin/2010-01/threads.html#

Re: Tee broken under process substitution?

2010-02-08 Thread Greg Chicares
On 2010-02-08 22:34Z, Ryan Johnson wrote: > > cygwin$ echo hi | tee >(cat) > hi > tee: /dev/fd/63: Bad file descriptor I don't know a workaround, but FWIW this looks similar: http://cygwin.com/ml/cygwin/2010-01/threads.html#00942 -- Problem reports: http://cygwin.com/problems.html FAQ:

Tee broken under process substitution?

2010-02-08 Thread Ryan Johnson
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 descripto