On Mon, 9 Dec 2013, Daniele Severi wrote:

I am new to cURL and I would like to filter and replace the text of cURL errors with a custom message and this script piping to sed works:

...

I have searched forums and tried several solutions but nothing seems to work. As soon as you sed or grep cURL stderr the progress meter is not shown anymore.

I guess those tools then filter off the stuff you'd want to have passed through to the terminal.

My general advice for you would probably be to instead write your own little thing in a language that has a libcurl binding.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to