On 7/30/13 7:04 PM, Curtis Doty wrote:

> The above works. Whereas the below fails.
> 
> #! /bin/bash -ex
> #
> 
> tee >(
>         # ain't this nifty
>         echo hi there
> )
> 
> It burps thusly:
> 
> ./foo.sh: line 7: bad substitution: no closing `)' in >(
>     # ain't this nifty
>     echo hi there
> )

Hi.  This was fixed a while back (5/2011), and the fix is in bash-4.3-
alpha.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to