summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-09-19 10:25:40 +0200
committerJim Meyering <jim@meyering.net>2007-09-19 10:25:40 +0200
commitcbade34401a3152ff037ee7abc2a915d3436439d (patch)
tree8ac69ca4a0f98a302abeea924fdfae32aa01183a /doc/coreutils.texi
parentdbab4177534fa8c674a0294d0400b8fa59630d6d (diff)
downloadcoreutils-cbade34401a3152ff037ee7abc2a915d3436439d.tar.xz
* coreutils.texi (expr invocation): Correct description of relative
operator precedence. Reported by hanpingtian@gmail.com.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index ce40f4ec0..c11c06ab1 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -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