diff options
author | June McEnroe <june@causal.agency> | 2019-05-15 19:33:38 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-05-15 19:33:38 -0400 |
commit | 0678af6fe92d76183144ca378672a62b2a955465 (patch) | |
tree | 1dc927e2aa5ffc4f6bbe9d717db570e848c4f087 /bin/man1 | |
parent | Add T suffix in bit (diff) | |
download | src-0678af6fe92d76183144ca378672a62b2a955465.tar.gz src-0678af6fe92d76183144ca378672a62b2a955465.zip |
Add order
Diffstat (limited to 'bin/man1')
-rw-r--r-- | bin/man1/order.1 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/bin/man1/order.1 b/bin/man1/order.1 new file mode 100644 index 00000000..696a24d1 --- /dev/null +++ b/bin/man1/order.1 @@ -0,0 +1,34 @@ +.Dd May 15, 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) , +.Sy sizeof +or assignment operators. |