From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: ob-scheme doesn't support :stdin? Date: Sat, 18 Jan 2020 05:02:50 +0000 Message-ID: <87ftgdnypx.fsf@kyleam.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54732) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isgG9-0004M7-CZ for emacs-orgmode@gnu.org; Sat, 18 Jan 2020 00:02:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isgG7-0002Uk-89 for emacs-orgmode@gnu.org; Sat, 18 Jan 2020 00:02:56 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:59367) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1isgG7-0002TR-35 for emacs-orgmode@gnu.org; Sat, 18 Jan 2020 00:02:55 -0500 In-Reply-To: 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Vladimir Nikishkin , emacs-orgmode@gnu.org Vladimir Nikishkin writes: > Is it true that ob-scheme doesn't support :stdin ? > > I just tried, and doesn't seem to work, although it works with ob-shell. > > (This is not a complaint, I just would like to confirm that I > understand things correctly.) Yes, that's true as far as I can tell: $ git grep :stdin lisp/ob-awk.el:;; - :stdin takes an Org data or code block reference, the value of lisp/ob-awk.el: (stdin (let ((stdin (cdr (assq :stdin params)))) lisp/ob-sed.el: (stdin (let ((stdin (cdr (assq :stdin params)))) lisp/ob-shell.el: (stdin (let ((stdin (cdr (assq :stdin params)))) testing/examples/ob-awk-test.org:#+begin_src awk :stdin genseq :results silent testing/examples/ob-sed-test.org: #+BEGIN_SRC sed :stdin ex1 So it seems support for :stdin is limited to awk, sed, and shell.