[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] BUG? table output despite "#+begin_src sh :results verbatim"
From: |
Sebastien Vauban |
Subject: |
Re: [O] BUG? table output despite "#+begin_src sh :results verbatim" |
Date: |
Fri, 25 Jan 2013 23:12:59 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.91 (windows-nt) |
Hi Thomas and Malcolm,
Thomas S. Dye wrote:
> 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
In both cases (verbatim or scalar, which are synonyms), I do have:
#+begin_src sh :results verbatim
echo 1
echo 2
echo 3
#+end_src
#+results:
#+begin_example
1
2
3
#+end_example
(I configured Babel so that to get lines prefixed by ":" only if there
is *one* line of results)
For the rest, I got the same as you:
> #+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)
... and wonder why the figures here are enclosed between parentheses...
Best regards,
Seb
--
Sebastien Vauban
- [O] BUG? table output despite "#+begin_src sh :results verbatim", Cook, Malcolm, 2013/01/25
- Re: [O] BUG? table output despite "#+begin_src sh :results verbatim", Thomas S. Dye, 2013/01/25
- Re: [O] BUG? table output despite "#+begin_src sh :results verbatim", Cook, Malcolm, 2013/01/25
- Re: [O] BUG? table output despite "#+begin_src sh :results verbatim", Thomas S. Dye, 2013/01/25
- Re: [O] BUG? table output despite "#+begin_src sh :results verbatim", Cook, Malcolm, 2013/01/25
- Re: [O] BUG? table output despite "#+begin_src sh :results verbatim", Eric Schulte, 2013/01/26
- Re: [O] BUG? table output despite "#+begin_src sh :results verbatim", Achim Gratz, 2013/01/26
- Re: [O] BUG? table output despite "#+begin_src sh :results verbatim", Cook, Malcolm, 2013/01/28
Re: [O] BUG? table output despite "#+begin_src sh :results verbatim",
Sebastien Vauban <=