#Retrieve email addresses from a mailbox
grep -e "From:" ~/mail/inbox/\[Lugge\]/Contatti/recenti/* | cut -d: -f3 | cut -d\< -f2 | cut -d\> -f1 | tr -d \ | sort | uniq >~/lista-email.txt
#Present the addresses in a way which fits BBC multiple sending
#Please don't spam people!
for i in $(cat ~/lista-email.txt); do echo -ne "$i, "; done
|