Re: [O] do sh source blocks ignore args? [7.8.09]

2012-04-26 Thread Neil Best
Org-mode version 7.8.09 How could this be? I ran it in a separate, minimally configured Emacs and got the good behavior, so org-version must be lying somehow or else not all of the functions were redefined when I upgraded. I thought a reload uncompiled would take care of this. I'll restart emac

Re: [O] do sh source blocks ignore args? [7.8.09]

2012-04-26 Thread Eric Schulte
Neil Best writes: > Can sh source block take arguments? I get nothing. > > #+NAME: test(foo="bar") > #+BEGIN_SRC sh :session :results output verbatim replace > echo "1. foo is $foo" > echo "2. foo is ${foo}" > #+END_SRC > > #+RESULTS: > : 1. foo is > : 2. foo is > > > . . . but this is fine:

[O] do sh source blocks ignore args? [7.8.09]

2012-04-26 Thread Neil Best
Can sh source block take arguments? I get nothing. #+NAME: test(foo="bar") #+BEGIN_SRC sh :session :results output verbatim replace echo "1. foo is $foo" echo "2. foo is ${foo}" #+END_SRC #+RESULTS: : 1. foo is : 2. foo is . . . but this is fine: #+NAME: test2 #+BEGIN_SRC sh :var foo="bar