Having spent a considerable time within the command line environment, I consider myself reasonably competent with completing the tasks I require with script.  Over the years of these small projects, two programs stick out that are essential to many of my life simplifying BASH scripts.  The first one would be dialog, which can spruce up even the most mundane script tasks, the other being cURL.

On August 12th 2010 version 7.21.1 was released and so deserves a mention.  From the homepage (which will suffice as a simple introduction for those who don’t know what cURL is):

curl is a command line tool for transferring data with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTMP and RTSP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos…), file transfer resume, proxy tunneling and a busload of other useful tricks.

The latest version changelog can be found here: http://curl.haxx.se/changes.html#7_21_1

For those who have never used cURL and haven’t seen how effective cURL can be, here is a very basic example of using cURL to send a Tweet.  Simple stuff and there is so much more to the cURL tool.

curl -s -u username:password -d status=”Your tweet here.” http://twitter.com/statuses/update.xml | grep truncated

Visit the cURL homepage here: http://curl.haxx.se/

Goblin

If you are new to this blog (or have not yet read it) please take time to view the OpenBytes statement, here.