Greetings,
Stumbled across a bug yesterday reproduced in both v1.8.2 and 1.10.2.
Apparently, recursive get tries to open the file for reading after
downloading, to download subsequent files. Problem is, when used with
-O - to deliver to stdout, it cannot open that file, so you get
A quick search at http://www.mail-archive.com/wget@sunsite.dk/; for
-O found:
http://www.mail-archive.com/wget@sunsite.dk/msg08746.html
http://www.mail-archive.com/wget@sunsite.dk/msg08748.html
The way -O is implemented, there are all kinds of things which are
incompatible with
On Mon, 16 Oct 2006, Fi Dot wrote:
Yeah. It was exactly the issue of not binmoding STDOUT.
Patch attached - it seems to fix the problem.
I think that patch is a start, but is incomplete. The wget code already
uses O_BINARY rather than _O_BINARY. Also, you don't want binary output
to go
Yeah. It was exactly the issue of not binmoding STDOUT.
Patch attached - it seems to fix the problem.
Fi.
On 10/16/06, Fi Dot [EMAIL PROTECTED] wrote:
On 10/16/06, Willener, Pat [EMAIL PROTECTED] wrote:
What you describe looks like Windows ASCII mode. I thought (from the
description
: Saturday, October 14, 2006 2:17 AM
To: wget@sunsite.dk
Subject: Weird behavour of wget on Win32 while outputting file to stdout
Hi, many-respected all!
Recently, playing with wget on win32 (version 1.10.2, downloaded from
http://users.ugent.be/~bpuype/wget/ ), I have encountered a problem
which I'd like
Hi, many-respected all!
Recently, playing with wget on win32 (version 1.10.2, downloaded from
http://users.ugent.be/~bpuype/wget/ ), I have encountered a problem
which I'd like to share with ya.
When I do
wget -O - http://foo/bar
the stream I get on STDOUT is corrupt.
Let's say, I do
wget
Dear wget list,
I'm really amazed by the -k option in wget, however, it doesn't
appear
to work with the -O - option or even the -O file option! It would
be
really great if I could print the converted URLs to stdout. Does
anyone have a work around? Or maybe another piece
Dear wget list,
I'm really amazed by the -k option in wget, however, it doesn't appear
to work with the -O - option or even the -O file option! It would be
really great if I could print the converted URLs to stdout. Does
anyone have a work around? Or maybe another piece of software
Hello,
for wget I would suggest a switch that allows to send the output directly
to stdout. It would be easier to use it in pipes.
with best regards
JR
--
Jens Röder, Braunschweig
On 2002-01-25 14:01 +0100, Jens Röder wrote:
for wget I would suggest a switch that allows to send the output directly
to stdout. It would be easier to use it in pipes.
Does
wget ... 21 | command
solve your problem ?
--
André Majorel URL:http://www.teaser.fr/~amajorel/
std::disclaimer
Jens Röder wrote:
Hello,
for wget I would suggest a switch that allows to send the output directly
to stdout. It would be easier to use it in pipes.
wget -O - -o /dev/null
send log messages to null and download to stdout
smime.p7s
Description: S/MIME Cryptographic Signature
Jens Röder [EMAIL PROTECTED] writes:
for wget I would suggest a switch that allows to send the output
directly to stdout. It would be easier to use it in pipes.
Are you talking about the log output or the text of the documents Wget
downloads?
* Log output goes to stderr by default, and can
Quoting Greg Robinson ([EMAIL PROTECTED]):
I'm having a problem with wget. I need to have the program (while
running recursively) output to stdout so that I can pipe the output to a
separate filter process. Unfortunately, wget will only download the
first file from any site I point
13 matches
Mail list logo