[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: What is  $[ ]  ?
From:       Chet Ramey <chet.ramey () case ! edu>
Date:       2010-03-23 13:11:34
Message-ID: 4BA8BE06.9050309 () case ! edu
[Download RAW message or body]

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/



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic