From owner-freebsd-doc Sat Feb 9 16:12: 3 2002 Delivered-To: freebsd-doc@freebsd.org Received: from h187n2fls4o804.telia.com (h146n1fls31o859.telia.com [213.66.12.146]) by hub.freebsd.org (Postfix) with SMTP id 6418A37B419 for ; Sat, 9 Feb 2002 16:12:00 -0800 (PST) Received: (qmail 26557 invoked from network); 10 Feb 2002 00:11:08 -0000 Received: from localhost (HELO 127.0.0.1) (root@127.0.0.1) by localhost with SMTP; 10 Feb 2002 00:11:08 -0000 Date: Sun, 10 Feb 2002 01:12:31 +0100 From: Tomas Svensson X-Mailer: The Bat! (v1.51) Personal Reply-To: Tomas Svensson X-Priority: 3 (Normal) Message-ID: <897619225.20020210011231@gbdev.net> To: doc@FreeBSD.org Subject: -h for du(1)/df(1)/ls(1), manpage fix or not MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, The manpages for df(1), du(1) and ls(1) claim that -h (print human- readable numbers) will reduce the number of digits to three or fewer, but this isn't true. It will print numbers such as 1000K or 1010K (ofcourse, since these are slightly less than a megabyte). So the question is what to fix, the code or the manpage? OpenBSD fixed their manpage to say four, but I think fixing the code is a better solution. -Tomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message