From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Jones Subject: babel sh session eats '>' after first src block Date: Sat, 26 Apr 2014 11:20:57 -0400 Message-ID: Reply-To: gmj@pobox.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113441260748ae04f7f3a11f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We4PU-0007VN-4S for emacs-orgmode@gnu.org; Sat, 26 Apr 2014 11:21:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1We4PT-0000rk-C8 for emacs-orgmode@gnu.org; Sat, 26 Apr 2014 11:21:00 -0400 Received: from mail-pd0-x22c.google.com ([2607:f8b0:400e:c02::22c]:59524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We4PT-0000rX-5J for emacs-orgmode@gnu.org; Sat, 26 Apr 2014 11:20:59 -0400 Received: by mail-pd0-f172.google.com with SMTP id w10so4157289pde.17 for ; Sat, 26 Apr 2014 08:20:57 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a113441260748ae04f7f3a11f Content-Type: text/plain; charset=UTF-8 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 --001a113441260748ae04f7f3a11f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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---------------------
<= br>
* Session output with ">" works first time,= not subsequent times

=C2=A0 #+BEGIN_SRC sh=C2=A0
=C2=A0 echo '= one > two' > foobar.txt
=C2=A0 #+END_EXAMPLE
=
=C2=A0 #+BEGIN_SRC sh :results output :exports both :session= session1
=C2=A0 cat foobar.txt
=C2=A0 #+END_SRC

=C2=A0 #+RESULTS:
= =C2=A0 :=C2=A0
=C2=A0 : one > two

=C2=A0 #+BEGIN_SRC sh :results output :exports both :session se= ssion1
=C2=A0 cat foobar.txt
=C2=A0 #+END_SRC

=C2=A0 #+RESULTS:
= =C2=A0 :=C2=A0
=C2=A0 : two

--001a113441260748ae04f7f3a11f--