From owner-freebsd-current Wed Jan 12 15: 0:39 2000 Delivered-To: freebsd-current@freebsd.org Received: from xena.cs.waikato.ac.nz (xena.cs.waikato.ac.nz [130.217.241.20]) by hub.freebsd.org (Postfix) with ESMTP id BA03415542 for ; Wed, 12 Jan 2000 15:00:28 -0800 (PST) (envelope-from joerg@lucy.cs.waikato.ac.nz) Received: from lucy.cs.waikato.ac.nz (joerg@lucy.cs.waikato.ac.nz [130.217.241.12]) by xena.cs.waikato.ac.nz (8.9.3/8.9.3) with ESMTP id MAA02627; Thu, 13 Jan 2000 12:00:25 +1300 (NZDT) Received: (from joerg@localhost) by lucy.cs.waikato.ac.nz (8.9.3/8.9.0) id MAA27058; Thu, 13 Jan 2000 12:00:20 +1300 (NZDT) Date: Thu, 13 Jan 2000 12:00:18 +1300 From: Joerg Micheel To: Garance A Drosihn Cc: current@freebsd.org Subject: Re: Additional option to ls -l for large files Message-ID: <20000113120018.H5228@cs.waikato.ac.nz> References: <200001120201.SAA26378@gndrsh.dnsmgr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: ; from Garance A Drosihn on Wed, Jan 12, 2000 at 04:21:05PM -0500 Organization: SCMS, The University of Waikato, Hamilton, New Zealand Project: WAND - Waikato Applied Network Dynamics, DAG Operating-System: ... drained by Solaris 7 SPARC Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 12, 2000 at 04:21:05PM -0500, Garance A Drosihn wrote: > > The first one changes because it's over 1 megabyte, but the second > one does not change. So you get: > > -rw-r--r-- 1 gad staff 1951k Dec 11 03:39 asciiedit.c > -rw-r--r-- 1 gad staff 999123 Dec 11 03:39 asciisrch.c > > Okay now, how many people can look at those lines and immediately > see that the first file is "about" twice the size of the second > file? Probably nobody, not without pulling out a calculator. The Point taken. What about: -rw-r--r-- 1 gad staff 1951k Dec 11 03:39 asciiedit.c -rw-r--r-- 1 gad staff 999123 Dec 11 03:39 asciisrch.c or: -rw-r--r-- 1 gad staff 1951k Dec 11 03:39 asciiedit.c -rw-r--r-- 1 gad staff 999123 Dec 11 03:39 asciisrch.c I can see Oliver's proposal making a lot of sense here, the more since we avoid the discussion about K/M/G/T being base 2 or 10. Joerg -- Joerg B. Micheel Email: Waikato Applied Network Dynamics Phone: +64 7 8384794 The University of Waikato, CompScience Fax: +64 7 8384155 Private Bag 3105 Pager: +64 868 38222 Hamilton, New Zealand Plan: TINE and the DAG's To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message