[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Old request 267658 Emphasize operator precedence for "a" over "-o" in ma
Old request 267658 Emphasize operator precedence for "a" over "-o" in manpage
Sat, 2 Jan 2016 17:23:25 +0100
I have been looking on old Debian bugs and have stumbled over 267658
| Come to think of it some reminder in man page for the operator
| precedence will be nice.
This would be easy to implement by adding an example:
@@ -1505,7 +1505,13 @@ an error has already occurred.
-Listed in order of decreasing precedence:
+Listed in order of decreasing precedence (.i.e.
+"find \fIexpr1\fR -o \fIexpr2\fR \fIexpr3\fR"
+"find \fIexpr1\fR -o \fIexpr2\fR -a \fIexpr3\fR"
+"find \fIexpr1\fR -o ( \fIexpr2\fR -a \fIexpr3\fR" )
.IP "( \fIexpr\fR )"
However I am not sure this is actually an improvement. If I was
considering operator precedence I would have looked at this part of
the manpage before, OTOH if I combined operators with -a and -o
without thinking about precedence an unlooked at part of the manpage
would not help.
What do you think?
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
- Old request 267658 Emphasize operator precedence for "a" over "-o" in manpage,
Andreas Metzler <=