cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: write format

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 24 Jun 2005 07:21:29 +0200 (CEST)

On Thu, 23 Jun 2005, Ming Zhang wrote:

> the nothing will come out since -s kill the regular output and -w goes to
> stdout!
>
> i am think if the -w is specified, should this goto stderr as same as the
> normal print which can be turn off by -s? (i did not read the code but a
> 2>/dev/null confirm my guess)

Perhaps it should've done that from the start but I'd rather not do that now
since it'll break all existing scripts that use this feature.

I instead added the fact that it writes to stdout to the -w description of the
man page.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-06-24