From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33136 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Milestone break thru - BBDB helper kit Date: 02 Nov 2000 19:22:22 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169298 23530 80.91.224.250 (21 Oct 2002 03:01:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:01:38 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id B61A5D049A for ; Thu, 2 Nov 2000 22:23:11 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id VAB09214; Thu, 2 Nov 2000 21:23:00 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 02 Nov 2000 21:22:20 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id VAA14904 for ; Thu, 2 Nov 2000 21:22:10 -0600 (CST) Original-Received: from mail.networkone.net (mail.networkone.net [209.144.112.246]) by mailhost.sclp.com (Postfix) with SMTP id C30FBD049A for ; Thu, 2 Nov 2000 22:22:34 -0500 (EST) Original-Received: (qmail 32177 invoked from network); 3 Nov 2000 03:22:33 -0000 Original-Received: from adsl-116-86.ln.networkone.net (HELO reader.ptw.com) (209.144.116.86) by mail.networkone.net with SMTP; 3 Nov 2000 03:22:33 -0000 Original-Received: (from reader@localhost) by reader.ptw.com (8.9.3/8.9.3) id TAA17130; Thu, 2 Nov 2000 19:22:30 -0800 Original-To: bbdb-info@xemacs.org User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 Original-Lines: 29 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33136 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33136 There has been a milestone breakthrough in software development. The new BBDB Helper Kit. Have you ever dreamt of being able to type things at the command line like `get pizza' or `get Bill' and have the phone number magically appear before your eyes. Your dreams have come true... But of course you'll have to name it `get' and put it in your path. Maybe edit the filename, if yours isn't in the standard place. Hmmm... probably should mime this up and attach it.... but its just under 800 lines of code so I guess I'll just in line it. cat get: #!/bin/sh awk -F"\\\(" ' /'"$1"'/{gsub(/[]")[]|nil|\\n| 0/,"") print $1"\n"$2"\n"$3"\n"$4 }' ~/.bbdb