* [babel] Shell session output problem
@ 2014-07-31 14:21 Luka Stanisic
0 siblings, 0 replies; only message in thread
From: Luka Stanisic @ 2014-07-31 14:21 UTC (permalink / raw)
To: emacs-orgmode, bzg; +Cc: Arnaud Legrand
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-31 14:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-31 14:21 [babel] Shell session output problem Luka Stanisic
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).