Michael Stone wrote: > Rogier Wolff wrote: > > dd if=somebigfile | dd count=100 of=/dev/null > > > >both dd's should report that they copied 100 records. This worked in > >debian sarge. Debian Etch, the first dd stopped reporting the number > >of records copied. The script I wrote then stopped working. > >(The above is an example, my script of course used something else > >than "dd count=100" to limit the size copied.) > > I haven't replied yet because I'm not sure what to make of it. It > definitely does behave this way. Anyone else know if this was an > intentional change or a bug? I don't see anything obvious in the > changelog, and my reading of posix suggests that it's a bug; am I > missing something?
I can't reproduce this behavior. This is what I see: $ dd if=/dev/zero | dd count=100 of=/dev/null 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.00245 seconds, 20.9 MB/s $ dd --version dd (coreutils) 5.97 $ $ uname -rm 2.6.18-5-amd64 x86_64 $ uname -rm 2.6.22-3-686 i686 Bob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]