cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl -s misfeature

From: John Wiersba <jrw32982_at_yahoo.com>
Date: Tue, 24 Jan 2012 08:55:20 -0800 (PST)

Thanks, Ralph!  That is exactly what I was looking for.  I even looked for it specifically, but somehow missed it.  As Litella would say, "Never mind". >________________________________ > From: Ralph Mitchell <ralphmitchell_at_gmail.com> >To: John Wiersba <jrw32982_at_yahoo.com>; the curl tool <curl-users_at_cool.haxx.se> >Sent: Tuesday, January 24, 2012 11:18 AM >Subject: Re: Curl -s misfeature > > >On Tue, Jan 24, 2012 at 10:29 AM, John Wiersba <jrw32982_at_yahoo.com> wrote: > >First of all, thanks for making curl available!  It's a very handy tool. >> >> >>Now, the misfeature: >> >> >>    curl URL >output >> >> >>will display a progress bar.  That's OK for interactive use, but not ok for scripts.  Option -s will turn off the progress bar, but it also turns off displaying error messages.  Similarly, redirecting stderr to /dev/null seems to be a synonym for -s.  There should be some way of turning off the progress bar without turning off error messages.  I can't see it in the manpage. >> >The option you're looking for is  -S, as in: > >        curl -s -S ... <url> > >It turns error reporting back on when used along with -s. > >Ralph Mitchell > > > >

-------------------------------------------------------------------
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 2012-01-24