From c8cde252806213f2454d57f651c5257bb54cb3e0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 26 Aug 2001 05:39:37 +0000 Subject: expr now uses LC_COLLATE for string comparison, as per POSIX. --- doc/coreutils.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3-70-g09d2