Great, nice to hear :)

I did also not like the space, but took it over from the source code of
dd.c. But it looks like this is the only file where this space occurs.

LANG=en_EN.utf8 dd --help

outputs

N and BYTES may be followed by the following multiplicative suffixes:
c =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M,

But in the translation there is no space:

LANG=de_DE.utf8 dd --help

outputs

N und BYTES können folgende multiplikative Endungen tragen:
c=1, w=2, b=512, kB=1000, K=1024, MB=1000×1000, M=1024×1024, xM=M


In the attached updated patch file I removed the space in the new
addtional notes and in the dd help text.

Best regards



Am 22.07.2018 um 16:04 schrieb Paul Eggert:
> Thanks, this looks good, except I'd omit the space before the equal
> sign, e.g., "KiB=K" rather than "KiB =K". It looks odd to have unequal
> spacing around "=".
> 
> 
>From 5f6d3d119b77d0e9722c0c3087ca7c51c1bc7bd1 Mon Sep 17 00:00:00 2001
From: wodry <wo...@users.noreply.github.com>
Date: Sun, 22 Jul 2018 16:38:17 +0200
Subject: [PATCH] Remove space before "=" sign

---
 doc/coreutils.texi | 8 ++++----
 src/dd.c           | 6 +++---
 src/head.c         | 2 +-
 src/od.c           | 2 +-
 src/stdbuf.c       | 2 +-
 src/system.h       | 2 +-
 src/tail.c         | 2 +-
 7 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 118fea9db..4f05cbddb 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -697,8 +697,8 @@ one of the following multiplicative suffixes:
 @samp{G}  => 1024*1024*1024 (GibiBytes)
 @end example
 and so on for @samp{T}, @samp{P}, @samp{E}, @samp{Z}, and @samp{Y}.
-Binary prefixes can be used, too: @samp{KiB} =@samp{K}, @samp{MiB} =@samp{M},
-@samp{GiB} =@samp{G}, and so on.
+Binary prefixes can be used, too: @samp{KiB}=@samp{K}, @samp{MiB}=@samp{M},
+@samp{GiB}=@samp{G}, and so on.
 @end macro
 
 @c FIXME: same as above, but no ``blocks'' line.
@@ -714,8 +714,8 @@ one of the following multiplicative suffixes:
 @samp{G}  => 1024*1024*1024 (GibiBytes)
 @end example
 and so on for @samp{T}, @samp{P}, @samp{E}, @samp{Z}, and @samp{Y}.
-Binary prefixes can be used, too: @samp{KiB} =@samp{K}, @samp{MiB} =@samp{M},
-@samp{GiB} =@samp{G}, and so on.
+Binary prefixes can be used, too: @samp{KiB}=@samp{K}, @samp{MiB}=@samp{M},
+@samp{GiB}=@samp{G}, and so on.
 @end macro
 
 @cindex common options
diff --git a/src/dd.c b/src/dd.c
index 68b059398..31d8b01d7 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -592,9 +592,9 @@ Copy a file, converting and formatting according to the operands.\n\
       fputs (_("\
 \n\
 N and BYTES may be followed by the following multiplicative suffixes:\n\
-c =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M,\n\
-GB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y.\n\
-Binary prefixes can be used, too: KiB =K, MiB =M, GiB =G, and so on.\n\
+c=1, w=2, b=512, kB=1000, K=1024, MB=1000*1000, M=1024*1024, xM=M,\n\
+GB=1000*1000*1000, G=1024*1024*1024, and so on for T, P, E, Z, Y.\n\
+Binary prefixes can be used, too: KiB=K, MiB=M, GiB=G, and so on.\n\
 \n\
 Each CONV symbol may be:\n\
 \n\
diff --git a/src/head.c b/src/head.c
index 2c56e6d9e..56c795f8e 100644
--- a/src/head.c
+++ b/src/head.c
@@ -141,7 +141,7 @@ With more than one FILE, precede each with a header giving the file name.\n\
 NUM may have a multiplier suffix:\n\
 b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024,\n\
 GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.\n\
-Binary prefixes can be used, too: KiB =K, MiB =M, GiB =G, and so on.\n\
+Binary prefixes can be used, too: KiB=K, MiB=M, GiB=G, and so on.\n\
 "), stdout);
       emit_ancillary_info (PROGRAM_NAME);
     }
diff --git a/src/od.c b/src/od.c
index 00e6b9ed8..1dc938636 100644
--- a/src/od.c
+++ b/src/od.c
@@ -417,7 +417,7 @@ BYTES is hex with 0x or 0X prefix, and may have a multiplier suffix:\n\
   MB   1000*1000\n\
   M    1024*1024\n\
 and so on for G, T, P, E, Z, Y.\n\
-Binary prefixes can be used, too: KiB =K, MiB =M, GiB =G, and so on.\n\
+Binary prefixes can be used, too: KiB=K, MiB=M, GiB=G, and so on.\n\
 "), stdout);
       emit_ancillary_info (PROGRAM_NAME);
     }
diff --git a/src/stdbuf.c b/src/stdbuf.c
index 11e3bf624..feec6b148 100644
--- a/src/stdbuf.c
+++ b/src/stdbuf.c
@@ -111,7 +111,7 @@ If MODE is '0' the corresponding stream will be unbuffered.\n\
       fputs (_("\n\
 Otherwise MODE is a number which may be followed by one of the following:\n\
 KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.\n\
-Binary prefixes can be used, too: KiB =K, MiB =M, GiB =G, and so on.\n\
+Binary prefixes can be used, too: KiB=K, MiB=M, GiB=G, and so on.\n\
 In this case the corresponding stream will be fully buffered with the buffer\n\
 size set to MODE bytes.\n\
 "), stdout);
diff --git a/src/system.h b/src/system.h
index 18416b4f2..a07bbf834 100644
--- a/src/system.h
+++ b/src/system.h
@@ -595,7 +595,7 @@ emit_size_note (void)
   fputs (_("\n\
 The SIZE argument is an integer and optional unit (example: 10K is 10*1024).\n\
 Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000).\n\
-Binary prefixes can be used, too: KiB =K, MiB =M, GiB =G, and so on.\n\
+Binary prefixes can be used, too: KiB=K, MiB=M, GiB=G, and so on.\n\
 "), stdout);
 }
 
diff --git a/src/tail.c b/src/tail.c
index a5d9ef060..5ea268908 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -315,7 +315,7 @@ With more than one FILE, precede each with a header giving the file name.\n\
 NUM may have a multiplier suffix:\n\
 b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024,\n\
 GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.\n\
-Binary prefixes can be used, too: KiB =K, MiB =M, GiB =G, and so on.\n\
+Binary prefixes can be used, too: KiB=K, MiB=M, GiB=G, and so on.\n\
 \n\
 "), stdout);
      fputs (_("\
-- 
2.11.0

Reply via email to