Hello,

this code block:

#+BEGIN_SRC shell :session n42 :shebang "#!/bin/bash"
for i in "aa" "bb" "cc" ; do
echo "u: $i"
done
#+end_src

produces this output when it first runs:

#+RESULTS:
|    |    |    |    |
| >  | >  | u: | aa |
| u: | bb |    |    |
| u: | cc |    |    |


After the first run, subsequent runs produce this output:

#+RESULTS:
|    |    |    |
| >  | u: | aa |
| u: | bb |    |
| u: | cc |    |

If I set :session to none the output is always like follows:

#+RESULTS:
| u: | aa |
| u: | bb |
| u: | cc |


I think that last one is what one would expect ;). Anyways, using sessions,
is there a way to get rid off of the shell's continuation prompts?

Regards
hmw

Reply via email to