emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org babel execute shell in sh?


From: Panruo Wu
Subject: [O] org babel execute shell in sh?
Date: Wed, 7 Mar 2012 10:25:56 -0700

Dear list,

#+begin_src sh 
for np in {1..32}
do
    echo $np
done
#+end_src

when executing, the output only shows
{1..32}
which is clearly not I want..

After some investigation, I found that orgmode
uses "sh" that cannot understand the for loop above.

My question is, how can I suggest orgmode to use
"bash" to execute shell script?

I tried :shebang #!/bin/bash but it does not work

Thanks,
robb
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]