Re: dd(1) human-readable output

2011-08-31 Thread Thomas Pfaff
On Tue, 23 Aug 2011 19:36:53 + Grumpy wrote: [...] > > I'm unsure if we want to throw this into the wild, since this > > output behaviour is _old_. > > That's the point, exactly. People (well, scripts written by people) > depend on the dd report output format. > > > Now, a -h button or simil

Re: dd(1) human-readable output

2011-08-23 Thread Grumpy
> This is going to break atleast 3 scripts that get run periodically > on all of my development machines, while I'm happy with adjusting > them (this change would make them smaller actually) I'm unsure if > we want to throw this into the wild, since this output behaviour > is _old_. That's the po

Re: dd(1) human-readable output

2011-08-23 Thread Thordur Bjornsson
On 2011 Aug 23 (Tue) at 20:48:09 +0200 (+0200), Thomas Pfaff wrote: > This patch makes dd(1) output change from e.g. > > $ dd if=/dev/sd0c of=/dev/null bs=512 count=16000 > 16000+0 records in > 16000+0 records out > 8192000 bytes transferred in 3.002 secs (2728488 bytes/sec

dd(1) human-readable output

2011-08-23 Thread Thomas Pfaff
This patch makes dd(1) output change from e.g. $ dd if=/dev/sd0c of=/dev/null bs=512 count=16000 16000+0 records in 16000+0 records out 8192000 bytes transferred in 3.002 secs (2728488 bytes/sec) to $ obj/dd if=/dev/sd0c of=/dev/null bs=512 count=16000 16000+0 records in