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:

              $((expression))"

and

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

              $(command)
or
              `command`"


?

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

Reply via email to