curl-users
Re: Problem with -w option [curl 7.9.6 (win32) libcurl 7.9.6 (OpenSSL 0.9.6c)]
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Sun, 5 May 2002 00:44:42 +0200
Date: Sun, 5 May 2002 00:44:42 +0200
On Sat, 4 May 2002 18:27:40 -0400, John D. Zanette wrote:
> Whatever text I put after --w displays but the variables never get
> substituted.
>
> I have tried double %'s, single %'s, with "", without "", with (),
> without (), and several other variations and I can't get the
> variables to show. I have also tried using a config file. It
> always come back with straight text.
>
> ================================
>
> For example:
>
> curl -O -s -w \t%%(url_effective) www.anywhere.com/file.zip
Hi John!
You must use curly braces, not parentheses. I just tested with 7.9.6
and it worked, at least with url_effective.
Good luck!
/Linus
-- Linus Nielsen Feltzing, linus_at_haxx.se _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.netReceived on 2002-05-05