Execute any tool in PATH on the org-babel source code block
| ob-exec.el | ||
| README.org | ||
ob-exec
This Org-babel mode enables to execute fragment of code with any tool, as long as it is callable from the command line within an Org-mode file.
Examples
#+begin_exec :shebang "bash" echo "Hello, world" #+end_exec
echo "Hello, World!"
Hello, World!
#+begin_src :shebang "awk -f {} /proc/cpuinfo"
$1 ~ "processor" {
print $0
}
#+end_src
$1 ~ "processor" {
print $0
}
processor : 0 processor : 1 processor : 2