GNU bug report logs - #32242
dd help text lacks information about binary prefixes

Previous Next

Package: coreutils;

Reported by: Wodry <coreutils3422 <at> runbox.com>

Date: Sat, 21 Jul 2018 19:17:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Wodry <coreutils3422 <at> runbox.com>
To: 32242 <at> debbugs.gnu.org
Subject: bug#32242: dd help text lacks information about binary prefixes
Date: Sat, 21 Jul 2018 20:48:37 +0200
[Message part 1 (text/plain, inline)]
One can use binary prefixes (iB, e.g. MiB) with dd command, but that is
not written in the help text.

I just found out because I wanted to add support for binary prefixes
since I did not know they are already supported.

It's a hidden, but valuable feature, since I think, that M is binary is
hard to remember and can easily lead to confusion.

Much clearer is to use MiB. "M" is mentioned only for backwards
compatibility in this patch.

The parsing for binary prefixes is done in

gnulib/lib/xstrtol.c

so this is not dd specific.
[dd-inform-about-binary-prefixes-in-helptext.patch (text/x-patch, attachment)]

This bug report was last modified 7 years and 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.