* Chris Green <c...@isbd.net> [2017-01-27 10:13]: > On Thu, Jan 26, 2017 at 08:46:02PM -0200, Marcelo Laia wrote: > > On 26/01/17 at 04:28, Chris Green wrote: > > > Does anyone here use an address book for mutt other than abook? > > > > > > > Yes! I use The Little Brother's Database (lbdb) > > > > http://www.spinnaker.de/lbdb/ > > > Aha! Thank you, I'd not found that in my recent searches though I > think I have noticed it before. A major plus for lbdb is that it's in > the Ubuntu repositories. > > > > Maybe you would like to use goobook with lbdb. > > > > https://pypi.python.org/pypi/goobook > > > No, I don't want my addresses out on the cloud. However there are > lots of possibilities with lbdb and I'm sure something will fit my > needs.
For example I do sort and tidy up my collected addresses in lbdb like the following: # let lbdbq filter all duplicates: lbdbq > m_inmail.list.filteredByLbdbq # sort by TAB delimiter according to first and second field, ignoring # the third one and remove duplicates sort -k1,1 -k2,2 -t$'\t' --stable --unique m_inmail.list > m_inmail.list.sorted # extract first column only (email addresses) cut -f1 m_inmail.list.sorted > uppercase.txt # convert them to lowercase tr '[:upper:]' '[:lower:]' < uppercase.txt > lowercase.txt # and check for duplicates uniq -d lowercase.txt