GNU bug report logs -
#9939
Problems with the SIZE description in man pages for <ls> and <du>
Previous Next
Reported by: abdallah clark <clark-adc <at> clear.net>
Date: Wed, 2 Nov 2011 15:16:02 UTC
Severity: normal
Tags: fixed
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eric Blake wrote:
> SIZE is an integer with an optional suffix (example: 10MB). Suffixes are:
> KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.
I didn't jump in the discussion yet, but personally also find the
multiplication confusing. I know, there's already been a patch, but
what about the following?
Bye,
Berny
From d8819575ede3c4803787030869edaf865bd40711 Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <mail <at> bernhard-voelker.de>
Date: Tue, 15 Nov 2011 17:42:26 +0100
Subject: [PATCH] * src/system.h (emit_size_note): Reword for clarity again
---
src/system.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/system.h b/src/system.h
index 1cbde92..afb1a40 100644
--- a/src/system.h
+++ b/src/system.h
@@ -517,7 +517,7 @@ emit_size_note (void)
{
fputs (_("\n\
SIZE is an integer with an optional suffix (example: 10MB). Suffixes are:\n\
-KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.\n\
+KB (1000), K (1024), MB (1000KB), M (1024K), and so on for G, T, P, E, Z, Y.\n\
"), stdout);
}
--
1.7.3.4
This bug report was last modified 6 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.