emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] BUG? table output despite "#+begin_src sh :results verbatim"


From: Thomas S. Dye
Subject: Re: [O] BUG? table output despite "#+begin_src sh :results verbatim"
Date: Fri, 25 Jan 2013 09:43:42 -1000

Aloha Malcolm,

"Cook, Malcolm" <address@hidden> writes:

> Hi,
>
> In org 7.9.3d, under Gnu emacs 24.2.1 / linux:
>
> I find that org-mode is tablizing shell output despite require
> verbatim' results.
>
> #+begin_src sh :results  verbatim
>   echo 1
>   echo 2
>   echo 3
> #+end_src
>
> #+results:
> | 1 |
> | 2 |
> | 3 |

Hmm, I get this:

#+begin_src sh :results  verbatim
  echo 1
  echo 2
  echo 3
#+end_src

#+results:
: 1
: 2
: 3

#+begin_src sh :results  scalar
  echo 1
  echo 2
  echo 3
#+end_src

#+results:
: 1
: 2
: 3

#+begin_src sh :results  table
  echo 1
  echo 2
  echo 3
#+end_src

#+results:
| 1 |
| 2 |
| 3 | 

#+begin_src sh :results  list
  echo 1
  echo 2
  echo 3
#+end_src

#+results:
- (1)
- (2)
- (3)

#+begin_src sh :results org
  echo 1
  echo 2
  echo 3
#+end_src

#+results:
#+BEGIN_SRC org
| 1 |
| 2 |
| 3 |
#+END_SRC

Not sure why our results differ, though.

Tom

-- 
Thomas S. Dye
http://www.tsdye.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]