From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MILzJ6babWUGWwAAG6o9tA:P1 (envelope-from ) for ; Mon, 04 Dec 2023 14:56:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MILzJ6babWUGWwAAG6o9tA (envelope-from ) for ; Mon, 04 Dec 2023 14:56:54 +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 726E95D97F for ; Mon, 4 Dec 2023 14:56:54 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=faxUM+OX; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701698214; 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=3FFxQIcrh+LUk3Aix6wgz1Qq7jS6pBxA/Fond8UFhDc=; b=khXA4cTZVZltPNat6x4GzjrHDMDhdnY0W3ABBJl3EWWS2sEPRm8S/y80aBa6Gww+r+i9vp jCuSyFTHa2jMcIs0QeiQWEzHc2Lna94oOXqHoZsXf8SASDJsmtNx0BPik0MUPt7BLZpPyN EkTPywZLNlsBeGqi2k4vQ8YYbuEpQnQ5j5U0fKLbtsc8YNuXUwbKbG7TnW2BZbfLiX23sp bPHGPvU5TP72V02ceuw1wydItETq15toED7jtjqLmrBXYTGVjSwnUaU1bNAt4SgQ3kAXeA 7axxQUChwRxOCDH2b6mqTD0CbpfCHpShLw1MkJ1F+6HLoGjC1SnAfoJ4c0ZjeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=faxUM+OX; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701698214; a=rsa-sha256; cv=none; b=d/gP3LvNkd5FcKesZcO869r2eIint8Z+5Qt1TTbRNoudTy22JiUFQsl9PY/rPwzyP8jjQM VGwEgyOUf+wnL+dbDqEI5Qxei1hNSR1qqk4GVKI2I8OUo04HNANUsmfTY+9epmgVdIaG8h bRLwLhpK4kaUNoRPp0QNgyRH0kak2iXchMk8wBm6ldfX0erYF7PMgKLVjGoikLxg7zo7Ql Lttl3RqUKPPXheJwNgL0o2ruo0vrDbtBEIROCYKEneztgnfxYJJs16fNtL85HXAM5niL9n wSZ5Hftr8JN+QZCmyuPidOMrOK7o9mgQGLG8ltFFLkKiPxsANhKUl7A9b22slQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rA9Qb-0008Pb-5E; Mon, 04 Dec 2023 08:56:06 -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 1rA9QW-0008Lu-7e for emacs-orgmode@gnu.org; Mon, 04 Dec 2023 08:56:01 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rA9QU-0007E1-5v for emacs-orgmode@gnu.org; Mon, 04 Dec 2023 08:55:59 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9F5C3240101 for ; Mon, 4 Dec 2023 14:55:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1701698155; bh=N2Ofypd1+L4YvU8t4Ex4PEqFYnivogp4OL4pY1aU6+Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=faxUM+OXQk+r/4GSA+oaSSes6yrLJjuuqhVYWAfEXTF466jHaxhtUsT6YGo+v3pcT rJVQjHFMnBp2EFXLisWgooYKTgHHkqWa1IE/3tUHRbGI7HAhmkbuwseKtTQdK8MNkI mz7ukNk/BngM9KM/JepGo0ydL5mccVWMFiBv1tyoS9kTemcH+vFxnGt0qEJHy/wuaI tzplBTVDQzGdErQPh9WoPYYg/KshlBtxiFQN2N7SqHaEbe58Ikkl2Xh0VB9QxV/XkQ aFuX2Q+Uk/73WPJ3NelFeUh43Dk39pA5qZASPyQWBj+9S4l72RQJmiVeSBF/FBXfGh GoDdnUdTFhuzg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SkQDW1p7Qz9rxK; Mon, 4 Dec 2023 14:55:55 +0100 (CET) From: Ihor Radchenko To: Matt Cc: Max Nikulin , emacs-orgmode Subject: Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline In-Reply-To: <18be39f70c0.11af741683423289.2491735561665013905@excalamus.com> References: <18be39f70c0.11af741683423289.2491735561665013905@excalamus.com> Date: Mon, 04 Dec 2023 13:58:53 +0000 Message-ID: <87fs0im5lu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 X-Migadu-Spam-Score: -8.98 X-Spam-Score: -8.98 X-Migadu-Queue-Id: 726E95D97F X-Migadu-Scanner: mx12.migadu.com X-TUID: JFCMDKzhJ+Ho Matt writes: > > #+begin_src bash :cmdline 1 2 3 > > printf "%s\n" "$1" > > #+end_src > > > > #+RESULTS: > > : 1 > > > > #+begin_src bash :cmdline 1 2 3 :shebang #!/bin/bash > > printf "%s\n" "$1" > > #+end_src > > > > #+RESULTS: > > : 1 2 3 > > Thank you! This makes a good test case. I am confused. Isn't it a bug? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at