Roberto A. Foglietta's Home Page
 Menu 
Start
Linux
Studio
Lavoro
Personali

 Mail me 

[> me@ <]


 Visitatori 

Counter
dal 18.03.2000


 Linux | Documenti | Retrieve email addresses from a mailbox.txt 
#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

© 2003, Roberto A. Foglietta | Powered by FlatNukePlus | Site Admin: Me