03-05-2011, 11:04 AM
|
|
aliasx
Join Date: Apr 2001
Posts: 19,010
|
Quote:
Originally Posted by fris
here is something cool you might like, check your unread msgs from your gmail account from console.
Code:
curl -u gmailusername --silent "https://mail.google.com/mail/feed/atom" | tr -d '\n' | awk -F '<entry>' '{for (i=2; i<=NF; i++) {print $i}}' | sed -n "s/<title>\(.*\)<\/title.*name>\(.*\)<\/name>.*/\2 - \1/p"
|
That is cool. 
|
|
|