[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is $[ ] ?
From: |
Chet Ramey |
Subject: |
Re: What is $[ ] ? |
Date: |
Tue, 23 Mar 2010 09:11:34 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
On 3/23/10 6:41 AM, Marc Herbert wrote:
> Hi,
>
>
> I could not find the dollar square brackets $[ ] expansion documented
> in the manual. Is it the same as $(( )) ?
It's the deprecated version of $((...)), dating from Posix.2 draft 9
circa 1989 or so.
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/
What is $[ ] ?, Marc Herbert, 2010/03/23