bug-bash
[Top][All Lists]
Advanced

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

Re: Single quote character not handled well in associative array index


From: Chet Ramey
Subject: Re: Single quote character not handled well in associative array index
Date: Sun, 18 Sep 2016 19:34:40 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 8/29/16 11:28 PM, Wesley Hirsch wrote:

> Actually, that raises an interesting question about the differences between
> $(( and ((.  The man page says that $(( treats its contents as double
> quoted, however, (( is a built-in an not an expansion.  How does (( treat
> its contents?

The `((' command is intended to be equivalent to `let'.  That is,
(( ... )) is equivalent to let "...".  The man page and info document
say exactly that.

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



reply via email to

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