Package: wget
Version: 1.10.2-3
Severity: minor

I notice that when you prematurely close wget's output stream when
writing to stdout, wget gives a misleading error message:

    $ wget -O - http://en.wikipedia.org/wiki/FTP | head >/dev/null
    --19:59:20--  http://en.wikipedia.org/wiki/FTP
               => `-'
    Resolving en.wikipedia.org... 66.230.200.100
    Connecting to en.wikipedia.org|66.230.200.100|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 61,430 (60K) [text/html]
    
        0K                                                     1%    3.85 KB/s
    
    
    Cannot write to `FTP' (Broken pipe).
    $ 

I suspect it should read

    Cannot write to `-' (Broken pipe).

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wget depends on:
ii  libc6                        2.6-2       GNU C Library: Shared libraries
ii  libssl0.9.8                  0.9.8e-5+b1 SSL shared libraries

wget recommends no packages.

-- no debconf information


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

Reply via email to