cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: patch to print version info on stderr

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Tue, 16 Sep 2003 23:03:02 +0200

"David Byron" <DByron_at_everdreamcorp.com> said:

> Please consider this patch to print version info on stderr, and to make it
> possible to redirect this to a file. I'm working in Windows land and it's a
> bit of struggle to deal with redirecting output, etc. without this. With
> this patch
>
> $ curl --stderr foo --version

IMHO this is a kludge. Do we really need more cmdline parameters?
What about
  curl --version 2> foo

(stderr is handle 2 remember). Works on cmd and 4nt shells.

--gv

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-16