[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Precedence of "C operators" and "bash operators"
From: |
12bric |
Subject: |
Precedence of "C operators" and "bash operators" |
Date: |
Sat, 18 Dec 2010 08:22:47 -0800 (PST) |
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 ?
Cheers,
Eric
--
View this message in context:
http://old.nabble.com/Precedence-of-%22C-operators%22-and-%22bash-operators%22-tp30488598p30488598.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.
- Precedence of "C operators" and "bash operators",
12bric <=