tech-userlevel archive

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

Re: humanize_number(3) for dd(1) summary?



In article <4CF96CBF.4070601%free.fr@localhost>,
Jean-Yves Migeon  <jeanyves.migeon%free.fr@localhost> wrote:
>As there is some discussion regarding command line/usage to make user's
>life better (or worse?), is there opposition to use humanize_number(3)
>in dd(1) summary()?
>
>$ dd if=/dev/zero of=/tmp/foobar bs=1g count=1
>1+0 records in
>1+0 records out
>1073741824 bytes transferred in 15.678 secs (68487168 bytes/sec)
>
>$ ./dd if=/dev/zero of=/tmp/foobar bs=1g count=1
>1+0 records in
>1+0 records out
>1073741824 bytes (1,0 GB) transferred in 15.701 secs (65 MB/sec)

I could not touch the default dd output summary (scripts might be parsing
it); having said that, a conv=something to enable the output would be fine.

christos



Home | Main Index | Thread Index | Old Index