This is a stupidly simple script for sending microblogs to twitter.com using curl and spell checking them with aspell along the way. it looks like this:
# tweet - A command line twitter with spellcheck - firstname.lastname@example.org
echo $@ > /tmp/tweet
aspell -c /tmp/tweet
curl -u USERNAME:PASSWD -d status="$TWIT" http://twitter.com/statuses/update.xml
Save the code as “tweet” and use it like this:
you@yourprompt:~$ tweet testing my tweet script
It should spit out some success xml. You just sent a tweet to twitter.
Of course you will need to edit the USERNAME and PASSWD to your username and password at twitter.com. If you don’t like copy and paste you can grab it as a file here. Hope you find it useful.