summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-06-12 16:40:53 +0000
committerJim Meyering <jim@meyering.net>1997-06-12 16:40:53 +0000
commitc8460daf24176f4905cf8cf7e8f5d4d924f25ed5 (patch)
treed049a483df8b3961a4a6d97015bd12e95af2b541
parenta6062bfb0566cdb406c82c1dda8a3a1a59a9fd9c (diff)
downloadcoreutils-c8460daf24176f4905cf8cf7e8f5d4d924f25ed5.tar.xz
.
-rw-r--r--doc/sh-utils.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/sh-utils.texi b/doc/sh-utils.texi
index fe0df2c06..8ebdfcb70 100644
--- a/doc/sh-utils.texi
+++ b/doc/sh-utils.texi
@@ -866,7 +866,8 @@ the environment variable, @var{POSIXLY_CORRECT} is set.
@end table
-The keywords cannot be used as strings.
+To make @code{expr} interpret keywords as strings, you must use the
+@code{quote} operator.
@node Examples of expr
@@ -893,6 +894,8 @@ expr index abcdef cz
@result{} 3
expr index index a
@error{} expr: syntax error
+expr index quote index a
+@result{} 0
@end example