diff options
author | Jim Meyering <jim@meyering.net> | 2001-08-26 05:39:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-08-26 05:39:37 +0000 |
commit | c8cde252806213f2454d57f651c5257bb54cb3e0 (patch) | |
tree | 94de4afc94db4b0395295e46680528dca87539b5 /doc | |
parent | b3d09e5532f05db8f2bf2436344dc2132556cbaa (diff) | |
download | coreutils-c8cde252806213f2454d57f651c5257bb54cb3e0.tar.xz |
expr now uses LC_COLLATE for string comparison, as per POSIX.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index d4e28d90f..e32c7bd9f 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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 |