[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-recutils] rec2csv --delim question
From: |
Jose E. Marchesi |
Subject: |
Re: [help-recutils] rec2csv --delim question |
Date: |
Fri, 15 May 2015 12:49:52 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Using shell command in emacs, rec2csv --delim=| Testrec.rec
You probably need to scape that `|' for the shell:
$ rec2csv --delim=\| Testrec.rec
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.