source: trunk/minix/commands/ash/bltin/binary_op@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 617 bytes
RevLine 
[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
7OR1 -o 1
8OR2 | 1
9AND1 -a 2
10AND2 & 2
11STREQ = 4 OP_STRING
12STRNE != 4 OP_STRING
13NEWER -newer 4 OP_STRING
14EQ -eq 4 OP_INT
15NE -ne 4 OP_INT
16GT -gt 4 OP_INT
17LT -lt 4 OP_INT
18LE -le 4 OP_INT
19GE -ge 4 OP_INT
20PLUS + 5 OP_INT
21MINUS - 5 OP_INT
22TIMES * 6 OP_INT
23DIVIDE / 6 OP_INT
24REM % 6 OP_INT
25MATCHPAT : 7 OP_STRING
Note: See TracBrowser for help on using the repository browser.