Skip to content

Instantly share code, notes, and snippets.

@mathieue
Created September 1, 2010 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathieue/561388 to your computer and use it in GitHub Desktop.
Save mathieue/561388 to your computer and use it in GitHub Desktop.
# warning order of json keys/values pairs could change on the twitter stream api,
# and you should modify the sed regexp
export TUSER=toto
export PASS=123456
curl -s -d 'track=google' http://stream.twitter.com/1/statuses/filter.json -u$TUSER:$PASS | sed 's/.*text":"\(.*\)","crea.*_name":"\(.*\)","name.*/\2\t\t\1/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment