#!/bin/sh USER="MY NAME" PASSWORD="SECRET" STATUS="`echo $* | nkf -w`" if [ "$*" ]; then curl -u $USER:$PASSWORD -d status=$STATUS \ http://twitter.com/statuses/update.xml > /dev/null 2>&1 fi if [ -e friends_timeline.xml ]; then rm friends_timeline.xml fi wget -q --user=$USER --password=$PASSWORD \ http://twitter.com/statuses/friends_timeline.xml grep "\|" friends_timeline.xml | \ sed -f twitter.sed |w3m -T text/html -cols 124 -dump | \ head -n25