Glad you could stop by the Linux Basement site. Linux Basement is an informational Podcast about Linux, open source software and lots of other wonderful technology. If you want to find out more about open source technologies, subscribe and have a listen!

#linuxbasement is up at irc.freenode.net

MP3 Feed
Ogg Vorbis Feed
MP3 Feed (all episodes)
Ogg Feed (all episodes)

 

Twitter curl sed

Twitter one liner

Article Type: 
Tip

With all this talk of Twitter from the command line, I thought I'd throw out a one liner to see the last 20 Tweets that my friends have posted.
curl --basic --silent --user user:password --get http://twitter.com/statuses/friends_timeline.xml | sed --quiet --expression='s/<name>\(.*\)<\/name>/\1/p' --expression='s/<text>\(.*\)<\/text>/\1/p'
Notice, that's all on one line, but was broken in two to fit on the screen.

Syndicate content