cURL / Mailing Lists / curl-library / Single Mail

curl-library

/dev/null on Solaris and NUL on Microsoft Windows

From: Zhang, Jack <jack.zhang_at_credit-suisse.com>
Date: Tue, 14 Jun 2011 11:09:50 -0400

I can use this command line to check download speed on Solaris 8

 

curl -w 'Speed download:\t%{speed_download}' -o /dev/null -s
http://www.google.com/ -m 1800 -x myCorpProxy:8080

 

I replace " -o /dev/null" with "-o NUL" , try it on MS Windows 7.

 

It seems curl cannot recognize NUL device.

 

Could anyone point me out the correct syntax for " -o /dev/null" on
MS Windows.

Or in later version of curl, could add "NUL" device for Windows
Platform?

 

Really appreciated,

 

-Jack

===============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
===============================================================================

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-14