"Thomas S. Dye" <t...@tsdye.com> writes:

[..]

>
> What would it take to add AWK to the list of supported languages, in
> addition to Seb's setup?
>

It is currently possible to run awk one-liners using a shell script
block, but I guess awk does straddle the line between command-line
command and full-fledged language.

It would be possible to add support for awk as a language by fleshing
out the org-babel-template.el [1] following the directions in that file
itself.  All of the *session* functions can be ignored (as I don't think
there is such a thing as an interactive awk session) which makes this
task relatively simple.  Another good guide could be org-babel-ditaa.el
[2] which is also a fairly simple language.

Best -- Eric


Footnotes: 
[1]  http://github.com/eschulte/babel-dev/raw/master/org-babel-template.el

[2]  
http://repo.or.cz/w/org-mode.git/blob_plain/HEAD:/contrib/babel/lisp/langs/org-babel-ditaa.el



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to