On 12/18/10 11:22 AM, 12bric wrote:
> 
> Bash 4-1 manual indicates 
>      - "The operators and their precedence, associativity, and values are
> the same as in the C language" (pp. 27).
>      - the precedence of - and + operators is different then the precedence
> of ! and ~.
> 
> But in the book "C a reference manual" (Harbison & Steele), the four
> operators + - ! ~ have the same precedence.
> 
> What's wrong ?

Thanks for the report.  There are indeed some problems with the treatment
of unary + and - along with the ! and ~ operators.  These will be fixed
in the next release.

Chet
-- 
``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