The following bash script works with WordPress 2.3.1 and 2.3.2 and upgrades it to the latest 2.3.3 version.
See it in action
$ sudo ./wp-update -d /var/www/html/www.labcoding.com/
Grabbing the latest version from WordPress.org
Resolving wordpress.org… 220.127.116.11, 18.104.22.168
Connecting to wordpress.org|22.214.171.124|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [application/x-gzip]
[ <=> ] 884,898 44.49K/s
17:07:03 (48.90 KB/s) – `latest.tar.gz’ saved 
The downloaded version is 2.3.3.
Creating backup of current WordPress files, just in case…
Copying changed files into /var/www/html/www.labcoding.com/
Your blog has been updated from 2.3.2 to 2.3.3!
No running of update.php is needed for this release.
Files changed in WordPress 2.3.3 (in regards to 2.3.2)