George Jones <elu...@gmail.com> 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