curl-users
Re: config file syntax
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 28 Nov 2006 09:18:14 +0100 (CET)
Date: Tue, 28 Nov 2006 09:18:14 +0100 (CET)
On Mon, 27 Nov 2006, Mehboob Alam wrote:
> Do syntax error etc. show up somewhere? I'd like to pipe them to a different
> file and evaluate them. Did I miss something here?
My test shows:
$ echo "mooo" | curl -K - localhost > /dev/null
Warning: <stdin>:1: warning: 'mooo' is unknown
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left Speed
100 291 100 291 0 0 90037 0 --:--:-- --:--:-- --:--:-- 0
Alas, they are sent to stderr as one would suspect.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-11-28