[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-babel-execute-src-block filters characters from :session *shell*
From: |
Ihor Radchenko |
Subject: |
Re: org-babel-execute-src-block filters characters from :session *shell* output |
Date: |
Fri, 14 Jun 2024 14:09:39 +0000 |
"Cook, Malcolm" <MEC@stowers.org> writes:
> Let me walk you through the issue:
>
> #+begin_src sh
> printf 'a\nb\nc\n>d\n<e\n'
> #+end_src
>
> #+RESULTS:
> : a
> : b
> : c
> : >d
> : <e
>
> Results look as expected. So far so good.
>
> Now create a shell buffer (which will be named "*shell*")
>
> #+begin_src elisp
> (shell)
> #+end_src
>
> and try it again
>
> #+begin_src sh
> printf 'a\nb\nc\n>d\n<e\n'
> #+end_src
>
> #+RESULTS:
> : a
> : b
> : c
> : d
> : <e
>
> Huh? what happened to the ">" before the "d"?
I cannot reproduce.
May it be that you are setting global :session header argument?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- org-babel-execute-src-block filters characters from :session *shell* output, Cook, Malcolm, 2024/06/13
- Re: org-babel-execute-src-block filters characters from :session *shell* output,
Ihor Radchenko <=
- RE: org-babel-execute-src-block filters characters from :session *shell* output, Cook, Malcolm, 2024/06/17
- RE: org-babel-execute-src-block filters characters from :session *shell* output, Ihor Radchenko, 2024/06/17
- RE: org-babel-execute-src-block filters characters from :session *shell* output, Cook, Malcolm, 2024/06/17
- RE: org-babel-execute-src-block filters characters from :session *shell* output, Cook, Malcolm, 2024/06/17
- RE: org-babel-execute-src-block filters characters from :session *shell* output, Ihor Radchenko, 2024/06/19