From owner-freebsd-stable@FreeBSD.ORG Sat Jul 13 10:30:41 2013 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D18DF4FF for ; Sat, 13 Jul 2013 10:30:41 +0000 (UTC) (envelope-from alexvpetrov@gmail.com) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 585C019F5 for ; Sat, 13 Jul 2013 10:30:41 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id x10so8217654lbi.5 for ; Sat, 13 Jul 2013 03:30:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=FjIL00vrkYTN1lLl2MrVuRxGLfo3LMEs+eKMkhkfIZw=; b=C4ikErCdrwQy7ov0MB7Z3E6InWqc+V2lWCrTqKiovBZMHjJShAazu/6nWNsxs4+7UM EnPtcX+3OdczPQQXahTCihQ+a7+GG18kavw9x7bA0RRN+gWZj1vZFzF1kol80mU+WpVY G6DY5XTocQWrZmOg0JkECPYMbwm9glhBBB7A/KQTMciOnKHJj3aSoyr32DZDa94pbEi1 8kHy4G1nK17eYqfwrSc5jZc+dhtgsNRetzEzqyD6ayhfbbm7VnLJUFVS28EU/Rh4rzt9 nsE//PntxN7m9jQ5YCx55bGEcQuq+5/bg2lagobLUymn3++LYyNxmOLa7C0khUqX4OA5 +AxQ== X-Received: by 10.152.27.137 with SMTP id t9mr21382879lag.28.1373711440169; Sat, 13 Jul 2013 03:30:40 -0700 (PDT) Received: from alex.super ([195.238.246.110]) by mx.google.com with ESMTPSA id v18sm15236559lbd.5.2013.07.13.03.30.37 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 13 Jul 2013 03:30:39 -0700 (PDT) From: "Alex V. Petrov" To: Sergey Kandaurov , stable@freebsd.org Subject: Re: ls -U don't work? Date: Sat, 13 Jul 2013 18:30:35 +0800 Message-ID: <2813184.tAUhP2F1j4@alex.super> User-Agent: KMail/4.10.5 (FreeBSD/9.2-PRERELEASE; KDE/4.10.5; amd64; ; ) In-Reply-To: References: <8704004.oreYQuEkVL@alex.super> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 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, 13 Jul 2013 10:30:41 -0000 =D0=92 =D0=BF=D0=B8=D1=81=D1=8C=D0=BC=D0=B5 =D0=BE=D1=82 13 =D0=B8=D1=8E= =D0=BB=D1=8F 2013 13:45:30 =D0=92=D1=8B =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0= =B0=D0=BB=D0=B8: > 2013/7/13 Alex V. Petrov : > > subj: > > ls -Ul >=20 > So, what's the problem? Looking at code, > I'd suggest to try adding -t to actually enable sorting, > otherwise it just prints dates but not sorts. >=20 > > total 0 > > -rw-r--r-- 1 alex alex 0 13 =D0=B8=D1=8E=D0=BB 15:26 000 > > -rw-r--r-- 1 alex alex 0 13 =D0=B8=D1=8E=D0=BB 15:25 111 > > -rw-r--r-- 1 alex alex 0 13 =D0=B8=D1=8E=D0=BB 15:25 222 > > -rw-r--r-- 1 alex alex 0 13 =D0=B8=D1=8E=D0=BB 15:25 333 >=20 > -t enables sorting (by modified date by default), > -U further specifies to sort by birth time. What is the meaning of '-U'?I thought '-U' =3D '-tr' man ls: "-U Use time when file was created for sorting or printing." ----- Alex V. Petrov