| Associativity | Operator |
| Left | Terms and list operators |
| Left | -> |
| Nonassociative | ++ -- |
| Right | ** |
| Right | ! ~ \ and unary + - |
| Left | =~ !~ |
| Left | * / % x |
| Left | + - . |
| Left | << >> |
| Nonassociative | Named unary operators |
| Nonassociative | < > <= >= lt gt le ge |
| Nonassociative | == != <=> eq ne cmp |
| Left | & |
| Left | ! ^ |
| Left | && |
| Left | || |
| Nonassociative | . |
| Right | ?: |
| Left | , => |
| Nonassociative | List operators |
| Right | not |
| Left | and |
| Left | or xor |
Term: variables, quote, quotelike operators, expressions in parentheses, any function whose arguments are parenthesized.
List operator: print, sort, chmod, etc.
Named unary operator: -e (file tests), defined, chdir, sqrt, undef, etc.