emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* babel sh session eats '>' after first src block
@ 2014-04-26 15:20 George Jones
  2014-04-26 16:53 ` Achim Gratz
  0 siblings, 1 reply; 2+ messages in thread
From: George Jones @ 2014-04-26 15:20 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

This may be expected behavior, but it was unexpected to me:
'>' in sh :session output eaten after first src block.

Clues, RFTMs (I tried), workarounds?

Thanks,
---George Jones

----------------------------redirect-test.org---------------------

* Session output with ">" works first time, not subsequent times

  #+BEGIN_SRC sh
  echo 'one > two' > foobar.txt
  #+END_EXAMPLE

  #+BEGIN_SRC sh :results output :exports both :session session1
  cat foobar.txt
  #+END_SRC

  #+RESULTS:
  :
  : one > two


  #+BEGIN_SRC sh :results output :exports both :session session1
  cat foobar.txt
  #+END_SRC

  #+RESULTS:
  :
  : two

[-- Attachment #2: Type: text/html, Size: 1099 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-26 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-26 15:20 babel sh session eats '>' after first src block George Jones
2014-04-26 16:53 ` Achim Gratz

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).