cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: simple/weird question

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 1 Dec 2015 08:33:37 +0100 (CET)

On Tue, 1 Dec 2015, Bundy wrote:

Please don't top-post and please trim off all the quotes you don't need.

> This appeared to work for me => curl
> http://www.foothill.edu/schedule/schedule.php | sed -e 's/\^M//g'
>
> But again it would be nice to see if curl has got the replace or convert
> already built in?

Why?

sed and similar tools already exist and they do an excellent job of filtering
content. Implementing something like that in curl seems mostly a waste to me.

Combining a set of tools is the way forward.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-12-01