|
From: | Charles Millar |
Subject: | Re: [help-recutils] rec2csv --delim question |
Date: | Fri, 15 May 2015 17:04:03 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 05/15/2015 03:49 PM, Jose E. Marchesi wrote:
Using shell command in emacs, rec2csv --delim=| Testrec.recYou probably need to scape that `|' for the shell: $ rec2csv --delim=\| Testrec.rec
No luck. However I will continue to try.
It was your org-babel post in February 2011 that brought recutils to my attention and I intend to experiment with recutils org-babel.I use emacs orgmode and converting the records to values separated by a | would make life a little easier to create tables. Did you look at ob-rec.el? It adds support to org-babel to understand REC blocks with queries, like: #+begin_src rec :data foo.rec#+end_src#+RESULTS: | foo | bar | |-----+-----| | bar | baz | | je | ji | Between #+begin_src and #+end_src you can specify a selection expression. C-cc-c in the src block will update the table with the results.
I looked through the org lisp and contrib/lisp directories and did not find ob-rec.el in either. i am using Org-mode version 8.3beta (release_8.3beta-1140-g2eb991). I thought that it had been included.
Charlie Millar
[Prev in Thread] | Current Thread | [Next in Thread] |