[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Problems with wget using -r and -O options
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] Problems with wget using -r and -O options |
Date: |
Thu, 11 Dec 2008 23:52:01 -0800 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081125) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mitar wrote:
> Hi!
>
> (Please CC me in replies as I am not subscribed to a mailing list.)
>
> I am using wget 1.11.4 and in its man page it is written that using -r
> with -O is supported but that I will get a warning. I tried using it
> but it does not really work, I do get a warning though. I am using -O
> to output it to stdout and it seems that this is the problem. wget
> tries to reread the "output" to get links to follow, but rereading of
> stdout is not possible and so it fails with only the first page
> downloaded (and sent to stdout).
>
> I have tried this both on Mac OS X (where it blocks after the first
> page waiting for stdin) and FreeBSD (where it downloads only the first
> page).
Yup. It doesn't work when you send it to stdout. Only when you send it
to a real file, and even that has extremely limited usefulness.
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklCGCEACgkQ7M8hyUobTrEeKQCfXch/kyJPKWZozvHl5V/jIutU
VU8AniZyj6/GpnEfb/DuR2fElFZxnWTy
=Tx4t
-----END PGP SIGNATURE-----