Skip to content

Instantly share code, notes, and snippets.

@dnpp73
Last active December 17, 2015 18:58
Show Gist options
  • Save dnpp73/5656571 to your computer and use it in GitHub Desktop.
Save dnpp73/5656571 to your computer and use it in GitHub Desktop.
つい…
#!/bin/bash
curl -s "http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=$1&page=1&count=20" | xmllint --format - | grep "<text>" | sed -e 's/<[^>]*>//g' | tr -d ' '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment