From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welle Subject: ob-shell, output and continuation prompts Date: Tue, 28 Nov 2017 13:23:52 +0100 Message-ID: <87tvxea8x3.fsf@luisa.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJeve-0003NS-PI for emacs-orgmode@gnu.org; Tue, 28 Nov 2017 07:23:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJeva-0003kG-UM for emacs-orgmode@gnu.org; Tue, 28 Nov 2017 07:23:58 -0500 Received: from mout.gmx.net ([212.227.17.20]:56686) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJeva-0003k2-Kb for emacs-orgmode@gnu.org; Tue, 28 Nov 2017 07:23:54 -0500 Received: from stella.c0t0d0s0.de ([194.95.66.1]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MVNWU-1ecrXb0qRa-00YiAy for ; Tue, 28 Nov 2017 13:23:53 +0100 Received: from Stella (stella.c0t0d0s0.de [192.168.42.1]) by stella.c0t0d0s0.de (Postfix) with ESMTP id 83530C419C for ; Tue, 28 Nov 2017 13:23:52 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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