From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Oliver_Ve=C4=8Dern=C3=ADk?= Subject: Re: sqlite im-/export Date: Fri, 17 May 2013 07:34:00 +0200 Message-ID: <87a9nucgqf.fsf@kerstf.org> References: <87r4h6dfa9.fsf@kerstf.org> <87zjvuloz3.fsf@gmail.com> <87ip2id75m.fsf@kerstf.org> <87sj1mlkgd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdDJ5-0002ob-Qj for emacs-orgmode@gnu.org; Fri, 17 May 2013 01:34:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdDJ1-0001qS-9Y for emacs-orgmode@gnu.org; Fri, 17 May 2013 01:34:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:41832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdDJ1-0001qO-2F for emacs-orgmode@gnu.org; Fri, 17 May 2013 01:34:15 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UdDIz-0004kV-Ol for emacs-orgmode@gnu.org; Fri, 17 May 2013 07:34:13 +0200 Received: from 178.112.125.204.wireless.dyn.drei.com ([178.112.125.204]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 May 2013 07:34:13 +0200 Received: from ov by 178.112.125.204.wireless.dyn.drei.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 May 2013 07:34:13 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > 2. use ":results drawer", and explicitly formatting the results in > Org-mode syntax w/awk Unfortunately this doesn't work. The output is always printed to the "#+RESULTS:" section and not piped through awk. But working with ":results raw" works perfect for me. I can even produce a separator line in the table now with =print "|-"=. The only question left, how to import org tables "on the fly" to sqlite, to keep everthing in Org mode. This would also be an interesting candidate for an "ob-doc-sh.org" starter I guess. -- Cheers, Oliver