From owner-freebsd-current Tue Jan 11 14:21:58 2000 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 1AE6714E09 for ; Tue, 11 Jan 2000 14:21:55 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id OAA25652; Tue, 11 Jan 2000 14:21:38 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200001112221.OAA25652@gndrsh.dnsmgr.net> Subject: Re: Additional option to ls -l for large files In-Reply-To: <20000112110456.X5228@cs.waikato.ac.nz> from Joerg Micheel at "Jan 12, 2000 11:04:56 am" To: joerg@cs.waikato.ac.nz (Joerg Micheel) Date: Tue, 11 Jan 2000 14:21:38 -0800 (PST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm currently dealing with an increasing set of *very* large files, > most of them in the order of gigabytes. It becomes impossible to > figure the size of a file with ls -l with 9 or more digits displayed. > I would propose a new flag to ls which will together with option -l > change the unit to kilobytes for files larger than one megabyte, to > megabytes for files larger than one gigabyte and gigabytes for files > larger than one terabyte. A 'k', 'm' or 'g' respectively should be > appended. > > Would such a patch find the blessing of the team and the maintainer > of ls ? Another thing that ``works for me''. Only make it ki, mi, and gi to fit with the new binary mode international appreviation standards, unless of cource you use base 10 divisors. -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message