LWN.net Logo

CLI Magic: Use cURL to measure Web site statistics (Linux.com)

Linux.com looks at cURL. "cURL is a handy command-line network tool whose name stands for "client for URLs," but think of it as a "copy for URLs" -- it can copy to or from a given URL in any of nine different protocols. Although cURL is sometimes misconceived as an updated wget, that's wrong. The two utilities do share some features and options, but are distinctly different tools; wget is for downloading files from the Web, and is best used to mirror entire sites or parts of sites -- which is something that cURL alone can't do."
(Log in to post comments)

CLI Magic: Use cURL to measure Web site statistics (Linux.com)

Posted Oct 17, 2006 6:20 UTC (Tue) by ekj (guest, #1524) [Link]

Translated:

The two utilities are in 9 out of 10 usage-scenarios completely interchangable. However, curl lacks the -R switch for recursion, and we are therefore going to claim it is a completely different sort of animal.

Lacking an option or two does not make two tools "distinctly different", if that was so, then Gnu tar and the tar that comes as standard in SunOS would be "distinctly different tools".

Which one is superior is largely a matter of taste.

CLI Magic: Use cURL to measure Web site statistics (Linux.com)

Posted Oct 17, 2006 9:42 UTC (Tue) by MKesper (guest, #38539) [Link]

I think the main difference is the existence of libcurl which makes it easier to integrate it into your applications.

Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds