]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
expr now uses LC_COLLATE for string comparison, as per POSIX.
authorJim Meyering <jim@meyering.net>
Sun, 26 Aug 2001 05:39:37 +0000 (05:39 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 26 Aug 2001 05:39:37 +0000 (05:39 +0000)
doc/coreutils.texi

index d4e28d90f8b64e73fa29ae21c5d69e41e64a64f0..e32c7bd9f71775508fa5df93c4e1900ccc8c516a 100644 (file)
@@ -8295,10 +8295,12 @@ Return its first argument if neither argument is null or 0, otherwise
 @kindex >
 @kindex >=
 @cindex comparison operators
+@vindex LC_COLLATE
 Compare the arguments and return 1 if the relation is true, 0 otherwise.
 @code{==} is a synonym for @code{=}.  @code{expr} first tries to convert
 both arguments to numbers and do a numeric comparison; if either
-conversion fails, it does a lexicographic comparison.
+conversion fails, it does a lexicographic comparison using the character
+collating sequence specified by the @env{LC_COLLATE} locale.
 
 @end table