Here's what I did to reproduce this bug:
% wget -O- http://wget.sunsite.dk/ | head >/dev/null
--15:21:28-- http://wget.sunsite.dk/
=> `-'
Resolving wget.sunsite.dk... done.
Connecting to wget.sunsite.dk[130.225.247.90]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10,812 [text/html]
0K .. 21%
2.26 MB/s
Cannot write to `index.html' (Broken pipe).
% wget --version
GNU Wget 1.8.2
Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software
Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Originally written by Hrvoje Niksic <[EMAIL PROTECTED]>.
The error message should instead say "cannot write to standard output"
or perhaps "cannot write to '-'".
--
Ed Avis <[EMAIL PROTECTED]>