bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: str1 < str2 does not respect locale


From: Chet Ramey
Subject: Re: str1 < str2 does not respect locale
Date: Thu, 9 Apr 2009 08:54:49 -0400

> > > Strings compared with [[ string1 < string2 ]] are supposed to use
> > > the current locale, but they don't.
> >
> > It's a documentation error (but a long-standing one).  The code has
> > always used strcmp, not strcoll.
> 
> how about change it to strcoll then ?

I'll consider that as a possible enhancement for a future version.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://tiswww.tis.case.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]