emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#32242: closed (dd help text lacks information abou


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32242: closed (dd help text lacks information about binary prefixes)
Date: Sun, 22 Jul 2018 15:39:02 +0000

Your message dated Sun, 22 Jul 2018 08:38:36 -0700
with message-id <address@hidden>
and subject line Re: bug#32242: dd help text lacks information about binary 
prefixes
has caused the debbugs.gnu.org bug report #32242,
regarding dd help text lacks information about binary prefixes
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
32242: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32242
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: dd help text lacks information about binary prefixes Date: Sat, 21 Jul 2018 20:48:37 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
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.

Attachment: dd-inform-about-binary-prefixes-in-helptext.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#32242: dd help text lacks information about binary prefixes Date: Sun, 22 Jul 2018 08:38:36 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Thanks, I squashed all that together, removed the "GiB=G" part (two examples are enough), and installed it in your name. Closing the bug.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]