[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ob-scheme doesn't support :stdin?

From: Vladimir Nikishkin
Subject: Re: ob-scheme doesn't support :stdin?
Date: Tue, 21 Jan 2020 12:05:47 +0800

I just thought that practically speaking, I no interpreter should
really need stdin, right?
Since everything that is prepended with a shebang: #! interpreter
is at the same time a valid shell script, isn't it?

сб, 18 янв. 2020 г. в 13:02, Kyle Meyer <address@hidden>:
> Vladimir Nikishkin <address@hidden> writes:
> > Is it true that ob-scheme doesn't support :stdin <blockname>?
> >
> > 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.

Yours sincerely, Vladimir Nikishkin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]