bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no apostrophe allowed in comment


From: Chet Ramey
Subject: Re: no apostrophe allowed in comment
Date: Thu, 01 Aug 2013 15:35:06 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]