GNU bug report logs - #22277
'dd' - stats are not what expected

Previous Next

Package: coreutils;

Reported by: Mike Fiedler <micfied <at> yandex.com>

Date: Thu, 31 Dec 2015 02:21:03 UTC

Severity: normal

Merged with 17505

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 22277 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>,
 Mike Fiedler <micfied <at> yandex.com>, 22277 <at> debbugs.gnu.org
Subject: Re: bug#22277: 'dd' - stats are not what expected
Date: Thu, 31 Dec 2015 11:56:40 -0800
[Message part 1 (text/plain, inline)]
Pádraig Brady wrote:
> There were some issues noted with that,
> but IMHO they were lesser than the current issue.

No matter which format we pick, fans of the other format will complain. Instead, 
let's output the information in both formats. I did that with the attached patch.

> We will have to be careful to not corrupt output
> when switching with status=progress (due to possibly shorter status line).

I didn't know about this problem. Could you explain it?

Ah. Is this due to glitches when the size grows from (say) "1023 KiB" to "1.0 
MiB", or is it something else?
[0001-dd-summarize-in-human-readable-format-too.patch (text/x-diff, attachment)]

This bug report was last modified 9 years and 146 days ago.

Previous Next


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