Hi Michael, Michael Brand <michael.ch.br...@gmail.com> writes:
> When there is no named source block involved I use just > > | Category | Budget | Spending | > |----------+--------+----------| > | Food | 1000 | Food | > | Rent | 1000 | Rent | > #+TBLFM: $3 = '(org-trim (shell-command-to-string (concat "echo " $1))) > > For named source blocks there is sbe, see Worg. This is most useful, thanks a lot! For the record, here is the solution using org-sbe: --8<---------------cut here---------------start------------->8--- #+name: spending #+begin_src sh :var c="bar" :results silent expr $c #+end_src | Category | Budget | Spending | |----------+--------+----------| | Food | 1000 | Food | | Rent | 1000 | Rent | #+TBLFM: $3='(org-sbe "spending" (c (concat "\"" $1 "\""))) --8<---------------cut here---------------end--------------->8--- Thanks again, Alan