From owner-freebsd-current Wed Jan 12 5:20:55 2000 Delivered-To: freebsd-current@freebsd.org Received: from mercury.gfit.net (ns.gfit.net [209.41.124.90]) by hub.freebsd.org (Postfix) with ESMTP id 55FCC14F3D for ; Wed, 12 Jan 2000 05:20:53 -0800 (PST) (envelope-from tom@embt.com) Received: from PARANOR (timembt.iinc.com [206.67.169.229]) by mercury.gfit.net (8.8.8/8.8.8) with SMTP id HAA12035; Wed, 12 Jan 2000 07:27:43 -0600 (CST) (envelope-from tom@embt.com) Message-Id: <3.0.3.32.20000112081646.0161fcb8@mail.embt.com> X-Sender: tembt@mail.embt.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Wed, 12 Jan 2000 08:16:46 -0500 To: Brad Knowles , Warner Losh , "Rodney W. Grimes" From: Tom Embt Subject: Re: Additional option to ls -l for large files Cc: MichaelV@EDIFECS.COM (Michael VanLoon), joerg@cs.waikato.ac.nz, current@FreeBSD.ORG In-Reply-To: References: <200001112314.QAA07511@harmony.village.org> <200001112249.OAA25732@gndrsh.dnsmgr.net> <200001112314.QAA07511@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> kB and kiB are the proper abreviations, not KB and KiB. I don't know >> if miB or MiB is correct, likely MiB. > > I always thought it was "k/m/b = 1,000/1,000,000/1,000,000,000" >and "K/M/G = 2^10/2^20/2^30". Or was this just some convention I >learned somewhere that I mistakenly thought of as an actual accepted >rule? But, with the letter "M" for example, m = milli-, M = mega- Like Donn was saying, there's no reason not to do it every way. Have the different options selectable by either an environmental variable or a command line switch. I'd vote for default behavior as the traditional: K = 2^10 M = 2^20 G = 2^30 T = 2^40 P = 2^50 .. but also have options for showing the entire unclipped file length, "binary mode international abbreviation standard", and maybe even scientific or engineering notation (for kicks). Tom Embt tom@embt.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message