|
From: | Nicholas Savage |
Subject: | Re: babel output seems to drop anything before % (in session) |
Date: | Thu, 06 May 2021 07:39:25 -0400 |
User-agent: | Cyrus-JMAP/3.5.0-alpha0-448-gae190416c7-fm-20210505.004-gae190416 |
ConfirmedDaniele,I was able to reproduce the behavior you described. Using the test case...#+BEGIN_SRC shell script :results outputping -c 1 127.0.0.1#+END_SRC... the results output matches what I get in a bash shell. But if you add the :session to the header args like this...#+BEGIN_SRC shell script :results output :session testping -c 1 127.0.0.1#+END_SRC... the output line that includes "0% packet loss" gets truncated to after the "%" sign.I tested with 9.4.5.JohnOn Wed, May 5, 2021 at 10:19 AM Daniele Pizzolli <dan@toel.it> wrote:Hello,Try to execute a few times the following and see the output corrupted inthe line:#+BEGIN_EXAMPLE1 packets transmitted, 1 received, 0% packet loss, time 0ms#+END_EXAMPLE#+PROPERTY: header-args:shell#+PROPERTY: header-args:shell+ :results output verbatim :wrap src text :session test#+NAME: ping#+BEGIN_SRC shellping -c 1 127.0.0.1#+END_SRCI tried to write a test (now with the :expected-result :failed), thathit the problem both in main and master (applies fine to both).I was not able to fix it, but hopefully the tests are still useful forsomebody more knowledgeable!Thanks for you suggestion/fix!Best,Daniele
[Prev in Thread] | Current Thread | [Next in Thread] |