emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Process substitution in babel
@ 2017-01-16 22:35 Joe Riel
  2017-01-25 21:21 ` Process substitution in babel [RESOLVED] Joe Riel
  0 siblings, 1 reply; 4+ 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] 4+ 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; 4+ 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] 4+ 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; 4+ 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] 4+ messages in thread

* Re: Process substitution in babel [RESOLVED]
  2017-01-16 22:35 Process substitution in babel Joe Riel
@ 2017-01-25 21:21 ` Joe Riel
  0 siblings, 0 replies; 4+ messages in thread
From: Joe Riel @ 2017-01-25 21:21 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, 16 Jan 2017 14:35:30 -0800
Joe Riel <jriel@maplesoft.com> wrote:

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

The solution was to pull and install the latest version of org from git-hub.
Now it works as it should.

-- 
Joe Riel

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

end of thread, other threads:[~2017-01-25 21:21 UTC | newest]

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

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).