EXPR(1) General Commands Manual EXPR(1)NAMEexpr - evaluate experessionSYNOPSISexpr arg ...EXAMPLESx=`expr + 1` # Add 1 to shell variable xDESCRIPTIONExpr computes the value of its argument and writes the result on standard output. The valid operators, in order of increasing precedence, are listed below. Operators grouped by {...} have the same precedence. The operators are: |, &, {<, <=, ==, !=, >=, >}, {+, -}, *, /, %, and :. Parentheses are permitted.SEE ALSOsh(1), test(1). EXPR(1)
| Related Man Pages |
|---|
| expr(1b) - sunos |
| expr(1) - mojave |
| expr(1b) - opensolaris |
| expr(1) - v7 |
| expr(1) - ultrix |
| Similar Topics in the Unix Linux Community |
|---|
| What editor does everyone use? |
| regular expression for MAC address validation |
| Awk |
| Korn expr substr fails for non-numeric value |
| Sed: -e expression #1, char 16: unterminated address regex |