This is an old revision of the document!


siroky_vtip.jpg

$ cat pismenka1.txt | iconv -f utf8 -t ascii//TRANSLIT//IGNO                                                                                       RE > ascii.txt
  • transform Czech and other diacritics to pure ascii
$ echo "whatever" | rev
  • result: revetahw
curl -u "email":"passwd" --silent "https://mail.google.com/mail/feed/atom" | perl -ne 'print "\t" if /<name>/; print "$2\n" if /<(title|name)>(.*)<\/\1>/;' | awk -v FS="(<fullcount>|</fullcount>)" '{print $2}'
  • get me emails from gmail
  • parse only number of new emails there

Tools

  • project/linuxfun.1461550337.txt.gz
  • Last modified: 2016/04/25 04:12
  • by over23