emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Alice Liquori <aliquori@sig-gis.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bash blocks with :session pollute results with 'org_babel_sh_prompt>'
Date: Fri, 18 Nov 2022 08:47:13 +0000	[thread overview]
Message-ID: <87k03sk5ta.fsf@localhost> (raw)
In-Reply-To: <CADnjhKO9ip6ssujZKj82FQSfi79GZbNZCYO=LN5X_6CONS65PA@mail.gmail.com>

Alice Liquori <aliquori@sig-gis.com> writes:

> I ran into an issue with bash blocks that use a session where
> 'org_babel_sh_prompt> ' is strewn throughout the output. For large blocks
> the intended output can be completely buried. Here is an example.
> #+begin_src bash :session test :results output
> echo "hello"
> #+end_src
> : org_babel_sh_prompt> org_babel_sh_prompt> org_babel_sh_prompt>
> org_babel_sh_prompt> hello

Thanks for reporting!

Please, update Org. This has been fixed on the latest main.

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>

      reply	other threads:[~2022-11-18  8:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-17 17:23 Bash blocks with :session pollute results with 'org_babel_sh_prompt>' Alice Liquori
2022-11-18  8:47 ` Ihor Radchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k03sk5ta.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=aliquori@sig-gis.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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