Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: ericblake AT comcast DOT net (Eric Blake) To: cygwin AT cygwin DOT com, Guido Milanese Subject: Re: Sort - locale: 1.5.16-1 (Attn: coreutils maintainer) Date: Tue, 17 May 2005 22:39:21 +0000 Message-Id: <051720052239.16365.428A7298000BE6BA00003FED22007614380A050E040D0C079D0A@comcast.net> X-Authenticated-Sender: ZXJpY2JsYWtlQGNvbWNhc3QubmV0 > > Thanks again. I am puzzled because I recall that an older version I > > tried a couple of years ago was sorting correctly. This most recent one > > seems to ignore anything related to LC_* I'm not sure how - newlib strcoll has never been locale-aware, and fileutils did not then (nor coreutils now) provide a locale-aware replacement. Sort has been using a strcoll wrapper named memcoll since at least at least textutils 1.22q (version 1.166 in Jul 1999) - see (http://savannah.gnu.org/cgi-bin/viewcvs/coreutils/coreutils/src/sort.c). And sort is not ignoring LC_*, just LC_COLLATE. LC_MESSAGES should still have an effect in cygwin. > > Well, a couple of years ago you would have used the "sort" from fileutils. > It has now been superceded by coreutils. If you're correct, and it used > to work in fileutils, then this is a regression that the coreutils > maintainer should be aware of. Eric, are you reading this? Yep! But I don't think there is a regression. You'll have to provide an actual example to prove me wrong. -- Eric Blake cygwin coreutils maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/