[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] GnuWin32 wget.exe to stdout not working properly
From: |
Kevin Pacheco |
Subject: |
[Bug-wget] GnuWin32 wget.exe to stdout not working properly |
Date: |
Thu, 11 Jul 2013 20:35:14 -0400 |
Below is a paste of a ticket I opened at SourceForge. My question for
the list is whether there exists a compiled version of wget for
Windows that's not terribly old and doesn't have this problem. (By the
way, I'm using Gmail. I read in a forum that Gmail is causing problems
with some mailing lists because of a line-break issue. If that's the
case here, I apologize. I did switch to plain text mode.)
I'm using the GetGnuWin32-0.6.3.exe package on Windows 7 64-bit.
Everything seems to be fine, except that wget doesn't direct output to
stdout correctly. If I do the following
wget -qO- http://heerebout.nl/ > foo
the output goes to the screen and "foo" ends up as a zero-byte file.
It's not using stderr either; I tried 2>&1 and also 3>&1. No dice.
More important, when doing something like the line below, the output
is not changed. That means that scripts or batch files must save the
output to a file in order to perform manipulations (as far as I can
tell).
wget -qO- http://heerebout.nl/ | sed s/Hello//
Version:
GNU Wget 1.12.1-dev Mar 04 2010 (mainline-013c8e2f5997) built on Windows-MinGW.
- [Bug-wget] GnuWin32 wget.exe to stdout not working properly,
Kevin Pacheco <=