Rev | Line | |
---|
[9] | 1 | # List of binary operators used by test/expr.
|
---|
| 2 | #
|
---|
| 3 | # Copyright 1989 by Kenneth Almquist. All rights reserved.
|
---|
| 4 | # This file is part of ash, which is distributed under the terms specified
|
---|
| 5 | # by the Ash General Public License. See the file named LICENSE.
|
---|
| 6 |
|
---|
| 7 | OR1 -o 1
|
---|
| 8 | OR2 | 1
|
---|
| 9 | AND1 -a 2
|
---|
| 10 | AND2 & 2
|
---|
| 11 | STREQ = 4 OP_STRING
|
---|
| 12 | STRNE != 4 OP_STRING
|
---|
| 13 | NEWER -newer 4 OP_STRING
|
---|
| 14 | EQ -eq 4 OP_INT
|
---|
| 15 | NE -ne 4 OP_INT
|
---|
| 16 | GT -gt 4 OP_INT
|
---|
| 17 | LT -lt 4 OP_INT
|
---|
| 18 | LE -le 4 OP_INT
|
---|
| 19 | GE -ge 4 OP_INT
|
---|
| 20 | PLUS + 5 OP_INT
|
---|
| 21 | MINUS - 5 OP_INT
|
---|
| 22 | TIMES * 6 OP_INT
|
---|
| 23 | DIVIDE / 6 OP_INT
|
---|
| 24 | REM % 6 OP_INT
|
---|
| 25 | MATCHPAT : 7 OP_STRING
|
---|
Note:
See
TracBrowser
for help on using the repository browser.