From: Carlos F. <car...@po...> - 2014-07-01 08:57:16
|
Roger wrote: > >* (Say I have a list with people to send holiday greetings, one > with people > >to invite to parties, one with people that share a certain hobby – > these > >lists will most probably overlap.) > > So you want to tag people into multiple categories? (ie. By > 'send_holiday_greetings', 'party_people', ...) Yes, "tagging" is a better word. Plus querying for tags. > Either a separate text file, yes redundant, but still simple and I'll > bet dummy > proof I might end up doing this. If the names on the list match their corresponding abook entries, I can easily generate a list of up-to-date email addresses from it by looping over the names with "abook --mutt-query". Thank you for giving me this idea. > Another probably better option, enter the custom field with your > standard tag > item name (ie. holiday_cards, party_people, ...) and then use > awk/gawk to > search for contacts having those tags. Once a contact is found with > a matching > tag name, selecting that contact and send to stdout. Sounds good, but only as good as the best awk (or other) script I can come up with or find. Carlos |