projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6062bf
)
.
author
Jim Meyering
<jim@meyering.net>
Thu, 12 Jun 1997 16:40:53 +0000
(16:40 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 12 Jun 1997 16:40:53 +0000
(16:40 +0000)
doc/sh-utils.texi
patch
|
blob
|
history
diff --git
a/doc/sh-utils.texi
b/doc/sh-utils.texi
index
fe0df2c
..
8ebdfcb
100644
(file)
--- 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