From owner-freebsd-stable@FreeBSD.ORG Sat Apr 5 19:10:54 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42875164 for ; Sat, 5 Apr 2014 19:10:54 +0000 (UTC) Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFF6E1F7 for ; Sat, 5 Apr 2014 19:10:53 +0000 (UTC) Received: by mail-lb0-f169.google.com with SMTP id q8so3549081lbi.0 for ; Sat, 05 Apr 2014 12:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=xuEq7lSFDX5TK6WRjXe1DELMHcuCLJ57ajqNio2kPz0=; b=FJIqL2G/HDgmCGOMsRjj2hq/7MDWHWl43ZjeOieKnRTcYWBLHhqvzoJqzI4/trI0HM fORkcytWl/BIrA3q2SmjbhnfQJoyZBjz3dQyhii3cxHndE/k30earMqOeWPQtB+as0sB XEi64Qh2at3PsXRhS0eYVUQ83jLmHxjyWkxN81guNMaYDRzOzfiaOoZiHSvVg61GUcIK 1fZw7EtocLW7DhuHCwNMGP06X0X4FXWLNn1cZ/XrQtHOgr84kb5HyKfFHMAEBaQ4UiRM WuSbWSMqw+5zfLQOnMgxqBMcKZMoRqSsphKmuxfHz1SeBfV9sDz/aVeOMZ53wwilGvXb QwFw== X-Received: by 10.112.158.105 with SMTP id wt9mr2897456lbb.31.1396725051787; Sat, 05 Apr 2014 12:10:51 -0700 (PDT) Received: from [10.0.1.9] (ip-95-220-108-153.bb.netbynet.ru. [95.220.108.153]) by mx.google.com with ESMTPSA id dl4sm8272912lbc.4.2014.04.05.12.10.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 05 Apr 2014 12:10:51 -0700 (PDT) From: Dmitry Sivachenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Incorrect sort(1) order Message-Id: <052ECC8E-6D13-434C-968A-9CC201C351E6@gmail.com> Date: Sat, 5 Apr 2014 23:10:50 +0400 To: stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2014 19:10:54 -0000 Hello, right now sort(1) in stable/10 sorts UTF-8 text files incorrectly if I = have LC_CTYPE=3Dru_RU.UTF-8 set. This is probably due to the problems described in recent "UTF-8 Sorting" = thread on -stable, though it is a clear regression=20 when moving from GNU sort from stable/9. I would rather ignore LC_CTYPE completly (until is it broken) and = produce sort results as if LC_CTYPE=3DC. Or at least make a big warning = in sort(1) man-page. Right now it looks rather disappointing. Thanks.