From mboxrd@z Thu Jan 1 00:00:00 1970 From: alip@exherbo.org (Ali Polatel) Date: Mon, 21 Sep 2009 02:11:04 +0300 Subject: [sup-talk] Problem with lbdb and extra contacts hook In-Reply-To: <1253481392-sup-4891@harikalardiyari> References: <1253481392-sup-4891@harikalardiyari> Message-ID: <1253488117-sup-4560@harikalardiyari> Ali Polatel yazm??: > Hello, > I've just started using sup and I'm really loving it. > Thanks for the great software. > > I have a problem with extra-contact-addresses hook and lbdb. > Using the hook in the wiki: > contacts = [] > `lbdbq |awk -F"\t" '{print $2 , "<"$1">"}'`.each { |c| contacts.push(c) } > return contacts Answering myself, removing return from the last line works as expected! I'll see if I can edit the wiki. -- Regards, Ali Polatel