Re: abook: query notes field

2010-09-03 Thread Chip Camden
Quoth Steve Schmerler on Friday, 03 September 2010: > On Sep 02 17:38 -0700, Chip Camden wrote: > > > > Sorry to respond to myself -- but this version has minor improvements. > > That's neat! Thanks for the nice script. > > So it is either parse-it-yourself or use a full-fledged LDAP. If I > scr

Re: abook: query notes field

2010-09-03 Thread Steve Schmerler
On Sep 02 17:38 -0700, Chip Camden wrote: > > Sorry to respond to myself -- but this version has minor improvements. That's neat! Thanks for the nice script. So it is either parse-it-yourself or use a full-fledged LDAP. If I script the parser myself, I might as well set up a small sqlite db to h

Re: abook: query notes field

2010-09-02 Thread Chip Camden
Sorry to respond to myself -- but this version has minor improvements. -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com #!/usr/bin/env ruby require 'optparse' abook = '~/.abook/addressbook

Re: abook: query notes field

2010-09-02 Thread Chip Camden
Quoth Steve Schmerler on Thursday, 02 September 2010: > Hi > > Say I have abook entries like > > [0] > name=Bob B. > email=...@gmail.com > nick=bob > notes=friend,coworker > > [1] > name=Alice A. > email=al...@gmail.com > nick=alice > notes=friend > > Is it possible to query the notes field? >

abook: query notes field

2010-09-02 Thread Steve Schmerler
Hi Say I have abook entries like [0] name=Bob B. email=...@gmail.com nick=bob notes=friend,coworker [1] name=Alice A. email=al...@gmail.com nick=alice notes=friend Is it possible to query the notes field? abook --mutt-query friend abook --mutt-query coworker abook returns "Not found" i