[Top][All Lists]

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

Re: Is bash dying or dead (was Re: 4.1 is "$((( ))) an 'official operato

From: Chet Ramey
Subject: Re: Is bash dying or dead (was Re: 4.1 is "$((( ))) an 'official operator, if $(( )) isn't?
Date: Wed, 10 Aug 2011 22:32:06 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11

On 8/10/11 8:57 PM, Linda Walsh wrote:
> Chet Ramey wrote:
>>> ----
>>>    Is this a fluke, due to the above changes NOT being 4.1?  Or is
>>>    this construction going to break in 4.2:
>>>    '$((( )))'
>> What does `break' mean?  It's already written in a manner more
>> confusing and obscure than necessary.  What value do you think the
>> extra set of parens adds?
> ----
> I thought the $( ) was necessary to make the inner (()) an arithmetic
> expression...  Does it execute in a sub process?

When even the briefest reading of the manual page would have revealed:

"The format for arithmetic expansion is:



"Command substitution allows the output of a command to replace the com-
mand name.  There are two forms:



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

reply via email to

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