Subject: RE: bug#9939: Problems with the SIZE description in man pages for <ls> and <du>

From: "Voelker, Bernhard" <[email-masked]>
Date: Tue, 15 Nov 2011 17:45:53 +0100

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 <[email-masked]>
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