improved variable handling for awk code blocks
commit7469454f548c38a33632dc8e528dba5fd6876d77
authorEric Schulte <schulte.eric@gmail.com>
Fri, 6 Jun 2014 16:50:14 +0000 (6 12:50 -0400)
committerEric Schulte <schulte.eric@gmail.com>
Fri, 6 Jun 2014 16:50:14 +0000 (6 12:50 -0400)
treeaf119bb21c60cb46d707266a77c87eef534a172f
parent0ba8b4f2ea4cc300d52dd5a5224a4551251fa20b
improved variable handling for awk code blocks

  Thanks to Greg Minshall for suggesting these changes.

* lisp/ob-awk.el (org-babel-expand-body:awk): Simply return the body
  unmodified.
  (org-babel-execute:awk): Assign variables on the command line using
  the `-v' command line option to awk.
lisp/ob-awk.el