Hello, The following code block: #+begin_src sh :results drawer list echo "vino tinto" echo "vino rosso" echo "vino blanco" #+end_src returns: #+results: :RESULTS: - vino tinto vino rosso vino blanco :END: while I was expecting: #+results: :RESULTS: - vino tinto - vino rosso - vino blanco :END: Am I assuming wrong, or badly using the header argument? Best regards, Seb -- Sebastien Vauban
I'm on 8.0-pre release_8.0-pre-219-g9c8543.
I get this:
#+begin_src sh :results drawer list
echo "vino tinto"
echo "vino rosso"
echo "vino blanco"
#+end_src
#+RESULTS:
:RESULTS:
- ("vino" "tinto")
- ("vino" "rosso")
- ("vino" "blanco")
:END:
I tried playing with things but never ditched those parentheses
(things like =:results output drawer list=, =:results output list=,
and I think some other combinations).
Then I did =$ git pull && make clean && make && make doc= and
re-tried. Now I get the same as you. Something changed between the
branch above and what I just updated to, version 8.0
release_8.0-2-g77476c (but not that with the proper list behavior you
would have wanted parentheses around each result and individual words
in quotations. That seems wrong too).
John
On Fri, Apr 19, 2013 at 4:44 AM, Sebastien Vauban
<wxhgmqzgwmuf@spammotel.com> wrote:
> Hello,
>
> The following code block:
>
> #+begin_src sh :results drawer list
> echo "vino tinto"
> echo "vino rosso"
> echo "vino blanco"
> #+end_src
>
> returns:
>
> #+results:
> :RESULTS:
> - vino tinto
> vino rosso
> vino blanco
> :END:
>
> while I was expecting:
>
> #+results:
> :RESULTS:
> - vino tinto
> - vino rosso
> - vino blanco
> :END:
>
> Am I assuming wrong, or badly using the header argument?
>
> Best regards,
> Seb
>
> --
> Sebastien Vauban
>
>
Hi Sébastien,
"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
> while I was expecting:
>
> #+results:
> :RESULTS:
> - vino tinto
> - vino rosso
> - vino blanco
> :END:
It should work now. Thanks!
--
Bastien
Hello John, Bastien,
> On Fri, Apr 19, 2013 at 4:44 AM, Sebastien Vauban wrote:
>> The following code block:
>>
>> #+begin_src sh :results drawer list
>> echo "vino tinto"
>> echo "vino rosso"
>> echo "vino blanco"
>> #+end_src
>>
>> returns:
>>
>> #+results:
>> :RESULTS:
>> - vino tinto
>> vino rosso
>> vino blanco
>> :END:
>>
>> Am I assuming wrong, or badly using the header argument?
After updating just now to Org-mode version 8.0 (release_8.0-3-g3d994a @
d:/Users/fni/Public/Repositories/org-mode/lisp/), I get:
#+begin_src sh :results drawer list
echo "vino blanco"
echo "vino rosso"
echo "vino tinto"
#+end_src
#+results:
| vino | blanco |
| vino | rosso |
| vino | tinto |
that is, a table instead of a list...
Best regards,
Seb
--
Sebastien Vauban
"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
> that is, a table instead of a list...
Mhh... I really can't reproduce this :/
--
Bastien
"Sebastien Vauban" wrote:
> After updating just now to Org-mode version 8.0 (release_8.0-3-g3d994a @
> d:/Users/fni/Public/Repositories/org-mode/lisp/), I get:
>
> #+begin_src sh :results drawer list
> echo "vino blanco"
> echo "vino rosso"
> echo "vino tinto"
> #+end_src
>
> #+results:
> | vino | blanco |
> | vino | rosso |
> | vino | tinto |
>
> that is, a table instead of a list...
I don't know what happened because, now, when re-running, I get:
#+begin_src sh :results drawer list
echo "vino blanco"
echo "vino rosso"
echo "vino tinto"
#+end_src
#+results:
:RESULTS:
- vino blanco
- vino rosso
- vino tinto
:END:
Excellent... Thanks.
Best regards,
Seb
--
Sebastien Vauban