]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* coreutils.texi (expr invocation): Correct description of relative
authorJim Meyering <jim@meyering.net>
Wed, 19 Sep 2007 08:25:40 +0000 (10:25 +0200)
committerJim Meyering <jim@meyering.net>
Wed, 19 Sep 2007 08:25:40 +0000 (10:25 +0200)
operator precedence.  Reported by hanpingtian@gmail.com.

doc/ChangeLog
doc/coreutils.texi

index b97b6602fefd29e9f2b95afe05d80ff87a3b5b40..66f223b29f30aa1528b88dc19bb694159ff8b756 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-19  Jim Meyering  <jim@meyering.net>
+
+       * coreutils.texi (expr invocation): Correct description of relative
+       operator precedence.  Reported by hanpingtian@gmail.com.
+
 2007-08-25  Eric Blake  <ebb9@byu.net>
 
        Avoid case-insensitive clash in one-page-per-node html docs.
index ce40f4ec0a0150ce47836c3793a30a3966c25774..c11c06ab17586dd499463cfe2cc0bed3595fe77f 100644 (file)
@@ -10804,7 +10804,7 @@ Exit status:
 @cindex expressions, string
 
 @command{expr} supports pattern matching and other string operators.  These
-have lower precedence than both the numeric and relational operators (in
+have higher precedence than both the numeric and relational operators (in
 the next sections).
 
 @table @samp
@@ -10884,8 +10884,9 @@ To make @command{expr} interpret keywords as strings, you must use the
 @cindex expressions, numeric
 
 @command{expr} supports the usual numeric operators, in order of increasing
-precedence.  The string operators (previous section) have lower precedence,
-the connectives (next section) have higher.
+precedence.  These numeric operators have higher precedence than the
+string operators described in the previous section, and lower precedence
+than the connectives (next section).
 
 @table @samp
 
@@ -10918,7 +10919,7 @@ integers; an error occurs if this cannot be done.
 @cindex relations, numeric or string
 
 @command{expr} supports the usual logical connectives and relations.  These
-are higher precedence than either the string or numeric operators
+have lower precedence than the string and numeric operators
 (previous sections).  Here is the list, lowest-precedence operator first.
 
 @table @samp