emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Process substitution in babel
@ 2017-01-16 22:35 Joe Riel
  0 siblings, 0 replies; 3+ messages in thread
From: Joe Riel @ 2017-01-16 22:35 UTC (permalink / raw)
  To: emacs-orgmode

Can one use process substitution in babel? 

#+BEGIN_SRC bash
comm <(ls) <(ls)
#+END_SRC

I get an error

Syntax error: "(" unexpected

-- 
Joe Riel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Process substitution in babel
@ 2017-01-16 22:36 Joe Riel
  2017-01-16 23:19 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Riel @ 2017-01-16 22:36 UTC (permalink / raw)
  To: emacs-orgmode

Can one use process substitution in babel? 

#+BEGIN_SRC bash
comm <(ls) <(ls)
#+END_SRC

I get an error

Syntax error: "(" unexpected

-- 
Joe Riel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Process substitution in babel
  2017-01-16 22:36 Process substitution in babel Joe Riel
@ 2017-01-16 23:19 ` Nick Dokos
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2017-01-16 23:19 UTC (permalink / raw)
  To: emacs-orgmode

Joe Riel <joer@san.rr.com> writes:

> Can one use process substitution in babel? 
>
> #+BEGIN_SRC bash
> comm <(ls) <(ls)
> #+END_SRC
>
> I get an error
>
> Syntax error: "(" unexpected

FWIW, works for me:

#+BEGIN_SRC bash
comm <(ls) <(ls)
#+END_SRC

#+RESULTS:
|   |   | 0001-ob-core-remove-cruft.patch                   |
|   |   | algo.png                                          |
|   |   | auto                                              |
...

Org mode version 9.0 (release_9.0-2-g80befa @ /home/nick/elisp/org-mode/lisp/)

-- 
Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-16 23:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-16 22:36 Process substitution in babel Joe Riel
2017-01-16 23:19 ` Nick Dokos
  -- strict thread matches above, loose matches on Subject: below --
2017-01-16 22:35 Joe Riel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).