From owner-freebsd-questions@FreeBSD.ORG Mon Sep 17 19:35:53 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46C9316A417 for ; Mon, 17 Sep 2007 19:35:53 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id CD63E13C469 for ; Mon, 17 Sep 2007 19:35:52 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l8HJZqpX080274; Mon, 17 Sep 2007 12:35:52 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l8HJZpVb080273; Mon, 17 Sep 2007 12:35:51 -0700 (PDT) (envelope-from kline) Date: Mon, 17 Sep 2007 12:35:51 -0700 From: Gary Kline To: Andrew Pantyukhin Message-ID: <20070917193551.GA80219@thought.org> References: <20070917042703.GA73835@thought.org> <20070917144619.GK52705@amilo.cenkes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070917144619.GK52705@amilo.cenkes.org> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21 of service to the Unix community. Cc: Gary Kline , FreeBSD Mailing List Subject: Re: is there any way of turning muttrc list into an evolution or other mail alias database? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 19:35:53 -0000 On Mon, Sep 17, 2007 at 06:46:20PM +0400, Andrew Pantyukhin wrote: > On Sun, Sep 16, 2007 at 09:27:03PM -0700, Gary Kline wrote: > > > > This may be a bit off the wall, but does anybody have a tool to > > take my dozens of mutt aliases and turn them into an evolution > > -style database format? (if not, is there any universal > > "address-book" app that I could use?) > > A sed one-liner could probably solve the problem, but try > mail/abook - it's a nice converter. Can you help me with the exact syntax? As a test, I tried: abook --convert --informat mutt --infile /home/kline/.mutt/muttrc --outformat abook --outfile abook An emtpy file ~/.abook/addressbook.new was created. ((I still stand by what I'd said for years, that a few examples are worth 10K words.)) Re a sed line to get this stuff into ~/.evolution/*, maybe. This may be where another very simple perl script would serve btter. Further clues very welcome. gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org