[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] data tables produced by shell source block
From: |
Ken Mankoff |
Subject: |
[O] data tables produced by shell source block |
Date: |
Wed, 12 Mar 2014 16:08:18 -0400 |
User-agent: |
mu4e 0.9.9.5; emacs 24.3.1 |
The babel sh example here:
http://orgmode.org/worg/org-contrib/babel/intro.html#source-code-execution
says (and shows), "Babel automatically converts the output into an
Org-mode table.". When I run that same code
#+name: directories
#+begin_src sh :results replace
cd ~ && du -sc * |grep -v total
#+end_src
I do not get a table. Rather, I get the results in two columns and a
"#+begin_example"
#+RESULTS: directories
#+begin_example
<etc>
Can anyone provide a working example for generating a table in shell
mode that can then be used with Python code?
Thanks,
-k.
- [O] data tables produced by shell source block,
Ken Mankoff <=