Wed Mar 4 19:31:12 CET 2009

twitter client in less than 140 characters

just for fun since I actually registered at twitter, and while I'm at it: here's a quick and highly useful twitter client in way less than 140 characters - with features such as error detection + explanation, sending over an encrypted connection and storing your username/password for convenience :)

#!/bin/sh
#iso_ 09
U=
P=
T=$@
E= curl -sd"status=$T" -u$U:$P "https://twitter.com/statuses/update.json" |grep -i error
echo "k.$E"

just drop it into a file, f.e. 'twit', add your username after U= and your password after P=, chmod +x twit it and off you go by f.e. by ./twit eeeoo world.