[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [babel] Shell session output problem
From: |
Luka Stanisic |
Subject: |
[O] [babel] Shell session output problem |
Date: |
Thu, 31 Jul 2014 16:21:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Hello,
When running org-babel shell snippets in *session*, I stumbled upon
the following problem:
Output shown in my .org file is already formatted:
1. Starting white spaces are lost
2. All code before first ">", "$" or "#" (prompt related?) is lost
Here is a minimal example (run it twice, first time when opening a
new session it is working)
#+begin_src sh :results output :session org-sh-test
echo " too$ foo"
echo " too$ foo"
#+end_src
#+RESULTS:
:
: foo
: too$ foo
Is there a way or some org-babel options to avoid this behavior?
I see how this formatting can be beneficial in many cases, but this
doesn't apply for mine.
Best regards,
Luka
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] [babel] Shell session output problem,
Luka Stanisic <=