May 2017
Beginner
552 pages
28h 47m
English
The script uses cURL to download the RSS feed. You can view the format of the incoming data by logging in to your Gmail account and viewing https://mail.google.com/mail/feed/atom.
cURL reads the RSS feed with the user authentication provided by the -u user:pass argument. When you use -u user without the password cURL, it will interactively ask for the password.
The next block of script that needs to be executed as one single expression uses sed to extract the relevant fields:
sed 's/.*<title>\(.*\)<\/title.*<author><name>\([^<]*\)<\/name><email> ...