>* (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', ...)

I would probably keep a separate text file of names of people.  Since I have no 
friends, I do not have a necessity for this feature. ;-)

Either a separate text file, yes redundant, but still simple and I'll bet dummy 
proof as it will force the user to verify the list instead of just assuming 
those tagged are still your friends. ;-)

Also, grep & awk/gawk are  your friend. ;-)

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.

Try searching for 'gawk|awk abook', and you might find something already 
written?

-- 
Roger
http://rogerx.freeshell.org/


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Abook-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/abook-devel

Reply via email to