[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] errors setting sh arrays
From: |
Eric Schulte |
Subject: |
Re: [O] errors setting sh arrays |
Date: |
Wed, 26 Dec 2012 09:03:33 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
George Jones <address@hidden> writes:
> Next up, it seems that I have to use a :session to set arrays in sh code on
> a remote system or you get a shell syntax error. See attached .org file
Despite the value of the SHELL environment variable, it appears that a
non-bash shell which doesn't support arrays is being used on the remote
systems. Have you tried setting either the `org-babel-sh-command' or
adding a :shebang header argument to the code blocks to force the
execution to use bash?
Hope this helps,
--
Eric Schulte
http://cs.unm.edu/~eschulte