summary refs log tree commit diff
path: root/bin/man1/order.1
blob: f042102f00e6e3fecc28a7d1967ea2a3f1d0ff6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.Dd May 18, 2019
.Dt ORDER 1
.Os
.
.Sh NAME
.Nm order
.Nd operator precedence
.
.Sh SYNOPSIS
.Nm
.Ar expr ...
.
.Sh DESCRIPTION
.Nm
parses C expressions
and prints them with parentheses
according to the precedence rules in
.Xr operator 7 .
.
.Sh EXAMPLES
.Bd -literal
$ order 'a & b << 1'
(a & (b << 1))
.Ed
.
.Sh SEE ALSO
.Xr operator 7
.
.Sh CAVEATS
.Nm
does not support the
.Sy (type)
operator.
Enroe 2018-07-05Add shed bloodJune McEnroe