diff options
author | 2011-09-03 22:59:07 +0000 | |
---|---|---|
committer | 2011-09-03 22:59:07 +0000 | |
commit | e324319b8a8a5b1105767b4beffb8d1ad9489904 (patch) | |
tree | b6ed9667c18399ae09a3788abf288e02e705cfb5 /share/man/man7 | |
parent | tweak previous; (diff) | |
download | wireguard-openbsd-e324319b8a8a5b1105767b4beffb8d1ad9489904.tar.xz wireguard-openbsd-e324319b8a8a5b1105767b4beffb8d1ad9489904.zip |
make -column lists pretty again;
specifically, rewrite them to permit some markup in the column headers,
and use "Ta" instead of literal tabs; mandoc does not currently match groff
100%, but a mandoc fix may be some time off, and we've gone enough releases
with poorly formatting column lists.
in some cases i have rewritten the lists as -tag, where -column made
little sense.
Diffstat (limited to 'share/man/man7')
-rw-r--r-- | share/man/man7/operator.7 | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/share/man/man7/operator.7 b/share/man/man7/operator.7 index c85302184a7..6426ef1fb18 100644 --- a/share/man/man7/operator.7 +++ b/share/man/man7/operator.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: operator.7,v 1.8 2010/09/05 19:12:36 schwarze Exp $ +.\" $OpenBSD: operator.7,v 1.9 2011/09/03 22:59:07 jmc Exp $ .\" $NetBSD: operator.7,v 1.3 1994/11/30 19:07:26 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)operator.7 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: September 5 2010 $ +.Dd $Mdocdate: September 3 2011 $ .Dt OPERATOR 7 .Os .Sh NAME @@ -38,24 +38,24 @@ .Nd C operator precedence and associativity .Sh DESCRIPTION .Bd -ragged -offset indent -.Bl -column "= += -= *= /= %= <<= >>= &= ^= |=" -.It Operator Associativity -.It -------- ------------- -.It \&() [] -> \&. left to right -.It "! ~ ++ -- - (type) * & sizeof" right to left -.It \&* / % left to right -.It \&+ - left to right -.It \&<< >> left to right -.It \&< <= > >= left to right -.It \&== != left to right -.It \&& left to right -.It \&^ left to right -.It \&| left to right -.It \&&& left to right -.It \&|| left to right -.It \&?: right to left -.It "= += -= *= /= %= <<= >>= &= ^= |= right to left" -.It \&, left to right +.Bl -column "= += -= *= /= %= <<= >>= &= ^= |=" "Associativity" +.It Sy Operator Ta Sy Associativity +.It -------- Ta ------------- +.It "\&() [] -> \&." Ta "left to right" +.It "! ~ ++ -- - (type) * & sizeof" Ta "right to left" +.It "\&* / %" Ta "left to right" +.It "\&+ -" Ta "left to right" +.It "\&<< >>" Ta "left to right" +.It "\&< <= > >=" Ta "left to right" +.It "\&== !=" Ta "left to right" +.It "\&&" Ta "left to right" +.It "\&^" Ta "left to right" +.It "\&|" Ta "left to right" +.It "\&&&" Ta "left to right" +.It "\&||" Ta "left to right" +.It "\&?:" Ta "right to left" +.It "= += -= *= /= %= <<= >>= &= ^= |=" Ta "right to left" +.It "\&," Ta "left to right" .El .Ed .Sh FILES |