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