From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ZsGxBzJuaGPgPQAAbAwnHQ (envelope-from ) for ; Mon, 07 Nov 2022 03:32:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sB14BTJuaGMAHwEAG6o9tA (envelope-from ) for ; Mon, 07 Nov 2022 03:32:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C213436276 for ; Mon, 7 Nov 2022 03:32:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orrv7-0008QB-CK; Sun, 06 Nov 2022 21:31:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orrv5-0008Pc-CT for emacs-orgmode@gnu.org; Sun, 06 Nov 2022 21:31:27 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orrv3-0004Xm-8n for emacs-orgmode@gnu.org; Sun, 06 Nov 2022 21:31:27 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 155CD240026 for ; Mon, 7 Nov 2022 03:31:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667788283; bh=KDhM+xgagVMXfzgYgD4GxZHdhEt3JpFehPxdb+BpZaE=; h=From:To:Cc:Subject:Date:From; b=p19mzK86dkWKt71HINJndlb9MXbsqigi6A4h3XYQ+nlUnnhlG1ch3VQp3s3lEdqCY itR25pmbqY/bmZz3MQNsxmF1+8Dn7QE6FMBgU2bxiQymcgjO9UVHy+Wo0yLqQBuK6e 8aw+1y8MTXcWjkcn+S8WNkHia3M8o3HL2FF9SM7xmFbkqcgkd+p+zlezbCbYL+9qjF zpJ6G1YPJw/Hp7W0FlvI8SBTRGxGLoNUHr7hQPovUJRWXjckbztTKxM1Xp60mwEl2T UBAm5e6Hj6j4OkSpUWHhSJqQShnbIOFwTLURSeXp8z+5vmhPicxc6qLFwuCCCGG99U 0J8UdSZj+tjmA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N5FbX0tHKz6tm6; Mon, 7 Nov 2022 03:31:19 +0100 (CET) From: Ihor Radchenko To: alain.cochard@unistra.fr Cc: Org Mode List Subject: Re: 2 'echo' bash instructions produce a table In-Reply-To: <25447.23346.575598.420558@gargle.gargle.HOWL> References: <25447.23346.575598.420558@gargle.gargle.HOWL> Date: Mon, 07 Nov 2022 02:31:59 +0000 Message-ID: <87tu3ba40w.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667788337; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7NswEVakQIePAflco0YjiwwOEBNsm3lpMYJ0npyiZCY=; b=HMxJT4T2Pgs2lbtDq9a4edlBkUecWxWgCIBuPJpUDkUc+Ch4Wqcbc6kY7bzw3ScOPfgTVZ p/JrR9lurMQfB8aP83oh4gbOpgtkmFa8+jqzgoXqE8F1RXYp9C1o+XCG41kWIcLUeL/w8R 3XzD3pEVP/I0bhJ0/RMWIrVY/kvgz+Ysen1RKyJwHvYeiTPCuhtH1QYktXD5jAM01yw5j6 r7r9A1f7VpBR5EJQ+z1oIPEQs5z6HXL5bv/qR956B761ekUMHdTk2O99VRo7QG65l+fyJV QFqNBm2rweK3Zu1tbtI3jaDejEOng042ourqohGiQ3O8KQZWLNd73JpidB1n7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667788337; a=rsa-sha256; cv=none; b=G2FLDDMbnEO7tMzSIrcsYWpg94xYySNZN2rK5MfF6wJDvl6Hv/GHgj3fFzE8C2wxM5G0G4 B/FHfyD+E3ZiFrU8LghcXOE5H3W1LQ4t9aDrJeOeLtDfwmNoBSolb7UHlkvU5ctbv4Fmfm b2YqmA7cwFxMEpDMdLah0m+QaNdcWmYHHgrbVDJCDR/22Ha6rdFLRK9f8CsOoxIIcgiWx7 PxROwxbPf4hgzcjMS8My01PWsXq5Ty0dwQpHfhWv6JyeK7MK3i+HnNwmB61zcRNSxD/psk YSQUzKAgmyP0TpQJdOE2+JqSq98PWc7zJdCyaYI2jS5Jg/uzhSbk7fM0OIuUWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=p19mzK86; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.70 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=p19mzK86; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C213436276 X-Spam-Score: -3.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: dSoI+pakZRfH Alain.Cochard@unistra.fr writes: > #+begin_src bash > echo "foo" > echo "bar" > #+end_src > > Typing 'C-c C-c' produces > > #+RESULTS: > | foo | > | bar | > > By contrast, with only 'echo "foo"', it produces what I expect: > > #+RESULTS: > : foo If you want to force string output, use :results output. By default, ob-shell tries to guess the output type. In the case of two commands returning output, the guess is yielding the table. In the case of a single command, the guess is yielding a single string output. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at