Package: wget
Version: 1.10.2-2
Followup-For: Bug #353326
Just a note to confirm that "-O -" seems partially broken:
# use 'random.org'
% S="http://www.random.org/cgi-bin/randbyte?nbytes=12&format=dec"
# try to send some numbers to standard output
wget -O - "$S" ; echo $?
--18:19:18-- http://www.random.org/cgi-bin/randbyte?nbytes=12&format=dec
=> `-'
Resolving www.random.org... 134.226.36.87
Connecting to www.random.org|134.226.36.87|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
[<=> ] 0 --.--K/s
2 [ <=> ] 48
--.--K/s
18:19:19 (2.69 MB/s) - `-' saved [48]
0
# did it reall make a file called '-'???
% ls ./- ; echo $?
ls: ./-: No such file or directory
2
Syntax variants like "-O-", "-O=-", "-O='-'", etc. don't work
either. If I pipe it to a file like '/tmp/foo' it does work.
OTOH, a simpler URL does work:
% S="http://www.random.org" ; wget --quiet -O - "$S"
...etc...
But why should a URL have any effect on the output syntax? The two
should be separate.
Hope this helps...
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Versions of packages wget depends on:
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libssl0.9.8 0.9.8c-1 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]