From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eHkmFd59fWZXhwAAqHPOHw:P1 (envelope-from ) for ; Thu, 27 Jun 2024 14:57:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eHkmFd59fWZXhwAAqHPOHw (envelope-from ) for ; Thu, 27 Jun 2024 16:57:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VwZRgh8u; 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=1719500254; 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=H9FF1A9pShNBP6sUzO8o1ia2jLkVcwh2avC3hIRqtns=; b=BleoVBoVa2j23fCp405mC5fCyCiyI1mOuqRazV1OyNSgyr7yiIZOBm+BHhk4ogqxqFY+g0 VKQ0hBu8PG8qa1DgpRFGVARpqHuXtQosayO2It7GlhkMiD4WNV/aRZq736zUFXut68OfbJ kur0vh/AAFLjVL+u7ev8/kxyThuECaC2ZIuvqRpmYk+OAXatGIOIW5+1GCOa8gyJknM2KF hAR9hu55g5+6bpRpW1v52oJGC711NjhM5HvF2ghiQi2u0WwS/fKcltsjLAaDvZc0FwXsdt P690SinOvGC4tE+aNjZy9zD3V+LNKSmS30p/iIt6G48+ltSishUdCE9lInWHxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VwZRgh8u; 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=1719500254; a=rsa-sha256; cv=none; b=BICJ4oO04pNGdaj8j8CHoWW4cat3kNnJvubM4qcxfG2pGeN4Mes87EnxfFF27D87z8ZS7C FEXeR4QHJgepw3+6yutAUyjr5Me/6oP7VQtSF/a8gVi+l5pzS7GKOGfOR03h/wETANqcax xek2QwoxMXEIsBiyDUX3jDxCtNcF4W+0d9aefH7fD56pV/wNLrUs1uF+rR9Apejsvqkqjl tz0NoUAUQomSbuf/AHQw8wyxq1Qo4iFXpEN5kdsFd9tS9koVEHbtr0YteOJHGIPyI8AZSi ot2tQgBy+Tlu9CxkmYi1eVf5ZQrJk3YC1ABs542KNcK0bg/vkXvsdCy7AxgZcw== 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 EAD92DF6D for ; Thu, 27 Jun 2024 16:57:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMqXz-0003cY-Lp; Thu, 27 Jun 2024 10:56:27 -0400 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 1sMqXy-0003bx-2U for emacs-orgmode@gnu.org; Thu, 27 Jun 2024 10:56:26 -0400 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 1sMqXw-0007dl-3j for emacs-orgmode@gnu.org; Thu, 27 Jun 2024 10:56:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id F336F240028 for ; Thu, 27 Jun 2024 16:56:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719500181; bh=vKVarDjw6hh9Q8XLTUmeer3Zu7d6wTA9MsKZLX5r0sQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=VwZRgh8utx6/tIAUcpVkdZB+aJ056eG4cUa8UxPWE6+2u38mtQGD5LU32c7bWzcRT nCklxW52p8rYTGIdqa1sj/TeF3rBgJPLZcsHr/mIF8adv73609pY1C82sxbaBqeE0t GQSYfGhdn82TSE61Vpmaa/74rgRHPeYLKSwTK8GPbqKfAsYctWTJlD8C3X+nTsUuGU kVjUkeXVtrgNuJfpdPRUVNJrCPoP7fjwx83jsKAh1goNRC4wTpSVnWsNkmND4pOtg3 lh3YofQJltVcz6ZBh82RK9jsFuvSfTA3L3LAVXYzefJ4biQvgj6mawyjoypudKwAXL /7Q5apgFnYA/w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W91q83XNTz9rxF; Thu, 27 Jun 2024 16:56:20 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [DISCUSSION] The meaning of :cmdline header argument across babel backends In-Reply-To: <874jbkcmyg.fsf@localhost> References: <18f01342a2f.124ad27612732529.8693431365849276517@excalamus.com> <871q6suv7z.fsf@localhost> <874jbkcmyg.fsf@localhost> Date: Thu, 27 Jun 2024 14:57:59 +0000 Message-ID: <87sewywhzc.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: -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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -8.34 X-Migadu-Queue-Id: EAD92DF6D X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.34 X-TUID: MOnImZqmBj39 Ihor Radchenko writes: >> #+header-arg: :results verbatim >> #+begin_src sh :cmdline 1 ; touch /tmp/not-an-arg >> printf '%s\n' "$@" >> #+end_src >> >> #+RESULTS: >> : 1 >> >> "touch ..." *are not arguments of the script*. So users should be >> careful to get documented behavior. > > I do not see any way to address this concern without introducing feature > regression. So, let's keep things as they are and maybe document that > :cmdline ... is passed verbatim as shell command. https://git.sr.ht/~bzg/worg/commit/1c6390fc -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at