projects
/
platform
/
upstream
/
coreutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: accept "==" as a synonym for "="
[platform/upstream/coreutils.git]
/
doc
/
coreutils.texi
diff --git
a/doc/coreutils.texi
b/doc/coreutils.texi
index
8dd1ed8
..
46deeed
100644
(file)
--- a/
doc/coreutils.texi
+++ b/
doc/coreutils.texi
@@
-11535,7
+11535,7
@@
Exit status:
* File type tests:: -[bcdfhLpSt]
* Access permission tests:: -[gkruwxOG]
* File characteristic tests:: -e -s -nt -ot -ef
* File type tests:: -[bcdfhLpSt]
* Access permission tests:: -[gkruwxOG]
* File characteristic tests:: -e -s -nt -ot -ef
-* String tests:: -z -n = !=
+* String tests:: -z -n =
==
!=
* Numeric tests:: -eq -ne -lt -le -gt -ge
* Connectives for test:: ! -a -o
@end menu
* Numeric tests:: -eq -ne -lt -le -gt -ge
* Connectives for test:: ! -a -o
@end menu
@@
-11726,6
+11726,11
@@
True if the length of @var{string} is nonzero.
@cindex equal string check
True if the strings are equal.
@cindex equal string check
True if the strings are equal.
+@item @var{string1} == @var{string2}
+@opindex ==
+@cindex equal string check
+True if the strings are equal (synonym for =).
+
@item @var{string1} != @var{string2}
@opindex !=
@cindex not-equal string check
@item @var{string1} != @var{string2}
@opindex !=
@cindex not-equal string check