Hi, 

I'm using wget 1.8.2,
i use something like

[EMAIL PROTECTED] tmp]$ cat test.sh
#!/bin/sh
echo "Testing my-url"
wget -q -O - http://my-url

and evrything work perfectly, but when i do

[EMAIL PROTECTED] tmp]$ ./test.sh > /tmp/test.log
or 
[EMAIL PROTECTED] tmp]$ ./test.sh >> /tmp/test.log

i'll never have "Testing my-url" in the log file, and >> will
never works because wget truncate my logfile... 

because, from man wget
>If file already
>exists, it will be overwritten.

It could be cool if wget don't try to truncate if stdout is specified...

Any ideas ?

regards

Reply via email to