October 2005
Intermediate to advanced
908 pages
46h 42m
English
Expressions are used in @ (the C shell math operator), if, and while statements to perform arithmetic , string comparisons, file testing, and so on. exit and set also specify expressions , as can the tcsh built-in command filetest. Expressions are formed by combining variables and constants with operators that resemble those in the C programming language. Operator precedence is the same as in C. It is easiest to just remember the following precedence rules:
* / %
+ -
Group all other expressions inside ()s; parentheses are required if the
expression contains <,
>, &, or |
Read now
Unlock full access