> > >   $ dd if=/dev/zero | dd count=100 of=/dev/null
> 
> "Of course, the two dd's are unneccesary, and this could be done with
> one dd. In practise, the consumer (second dd) is another program that
> exits when it's had enough data. The output of (the first) dd is then
> used to extract the approximate amount of data copied." 

After having read through things again instead of saying the above I
would now have used this test case to reproduce the issue.  This is
clearer test for it.

  $ dd if=/dev/zero | head --bytes 1024 > /dev/null
  129+0 records in
  128+0 records out
  65536 bytes transferred in 0.037618 seconds (1742140 bytes/sec)

Older versions of dd produced the above output.  Starting with version
5.90 dd no longer outputs those statistics on SIGPIPE.

Bob



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to