Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Local .procmailrc:
- :0 fbw
- * ^From:.*noreply@geocaching.com
- * ^Content-Transfer-Encoding:.*base64
- | /usr/local/bin/frogturd.sh
- :0 Afhw
- | formail -I "Content-Transfer-Encoding" -I "Content-Type: text/plain"
- /usr/local/bin/frogturd.sh :
- #!/bin/bash
- base64 -d | lynx -stdin -dump | perl -ne 's/\[\d\]//g; s/^\s+(\S)/$1/g; if (/(Questions:|support\.groundspeak)/) {$foo++}; if(/coord\.info/) {$foo=0}; print "$_" unless ($foo)'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement