From owner-freebsd-current@FreeBSD.ORG Wed Jun 17 02:43:06 2015 Return-Path: Delivered-To: current@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2686329B for ; Wed, 17 Jun 2015 02:43:06 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB5AD67A for ; Wed, 17 Jun 2015 02:43:05 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by laka10 with SMTP id a10so23433006lak.0 for ; Tue, 16 Jun 2015 19:42:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Ehw0nxu9yomIs+wSGw4z2XDQJNdyngXnU3gcfcOfsHA=; b=cr7efpW7JSoLlR7V8IGYwodJApsLTU33fPe05tsMiyoSJ7vFiBtCoAEd02eItsPfZH ajL7SY7T6VgEKwH0D+oncXqF14C+L0HVBXD+LhrDXwwNoLw7ooAw2UptQwTbsP73+aPA rtC430uJ5YDILfvyI8HtwkU7xHNvp0PenWkAb92/jCMrbQ4rCjoinIcMFk6yDGDhDCpK 5tJdy3HxAL+JCsxTrlLkEMFBtk9tgMpdjhubVVFTSJ8W8J03HrnZqjsuJA4YycF19Bqr 4HA3rNaMxWPqxbaIe1ZoFU2apRZ2AG1NIFMQnATcNcO0SjgxYVMtoYKk4MGYv+olnpyo pOMg== X-Gm-Message-State: ALoCoQm/0n37MAwGkywC1glDO5IFHxXKIPGoVS2sPip9RAs01UkRFPFcO9dDjDta97liuITqpuvm X-Received: by 10.112.130.68 with SMTP id oc4mr5217647lbb.87.1434508977986; Tue, 16 Jun 2015 19:42:57 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by mx.google.com with ESMTPSA id q9sm637743lag.20.2015.06.16.19.42.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 19:42:57 -0700 (PDT) Subject: Re: ls is broken for non-C locales due to libxo To: current@freebsd.org, marcel@freebsd.org References: <48B53C84-E4F7-4E88-B07D-7489FF585430@freebsd.org> From: Andrey Chernov Message-ID: <5580DEB0.7080908@freebsd.org> Date: Wed, 17 Jun 2015 05:42:56 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <48B53C84-E4F7-4E88-B07D-7489FF585430@freebsd.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 02:43:06 -0000 On 17.06.2015 5:18, Andrey Chernov wrote: > Recent -current, LANG=ru_RU.KOI8-R locale. ls -t eats whole date column, just ls eats whole filenames with printable national characters inside. Long live libxo. > I mean ls -l. To be precise, for 8bit non-C locales at least: ls -lt: skip date column and eat filename with even single 8bit character inside. ls -l: just eat filename as above. -- http://ache.vniz.net/