Hello,

It seems that passing a list to a shell code-block is broken:

#+CALL: echo-sh(arg-list)

#+RESULTS: echo-sh(arg-list)
|  97 |
|  98 |
|  99 |
| 120 |
| 121 |
| 122 |

#+NAME: arg-list
- abc
- xyz

#+NAME: echo-sh
#+BEGIN_SRC sh :var arg=arg-list
for a in $arg; do
    echo "$a"
done
#+END_SRC


Shouldn't it work the same as a table argument?

#+CALL: echo-sh(arg-table)

#+RESULTS: echo-sh(arg-table)
| ABC |
| XYZ |

#+TBLNAME: arg-table
| ABC |
| XYZ |


This is on Org-mode version 8.0.3 (8.0.3-32-g0c789f-elpa).


Reply via email to