[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Babel problem: Output incomplete if it contains # character (onl
From: |
Narendra Joshi |
Subject: |
Re: [O] Babel problem: Output incomplete if it contains # character (only in session) |
Date: |
Tue, 12 Jun 2018 20:31:00 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Marian Schubert <address@hidden> writes:
> Hello,
>
> I'm having trouble with babel block like this:
>
> #+BEGIN_SRC shell :results output :session xyz
> echo "foo#bar"
> #+END_SRC
>
> #+RESULTS:
> :
> : bar
>
> I expect results to be foo#bar, but it's just bar.
> If I remove :session xyz it displays correct value, i.e.:
I also face issues when there is a session involved with shell.
Why don't you try:
export PS1=$
at the beginning of the session as the first command and see if this
fixes it for you?
> #+RESULTS:
> : foo#bar
>
> Any idea what might be wrong?
>
> Best regards,
> Marian
>
--
Narendra Joshi