forked from mirrors/org-mode
ob-sed: Use -f instead of --file to support BSD sed
lisp/ob-sed.el (org-babel-execute:sed): Change file flag to "-f" instead of "--file" to support BSD sed as well. Signed-off-by: Bjarte Johansen <bjarte.johansen@gmail.com>
This commit is contained in:
parent
befc92b9c0
commit
8e5d74ca4c
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Bjarte Johansen
|
||||
;; Keywords: literate programming, reproducible research
|
||||
;; Version: 0.1.0
|
||||
;; Version: 0.1.1
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -79,7 +79,7 @@ function is called by `org-babel-execute-src-block'."
|
|||
(cmd (mapconcat #'identity
|
||||
(remq nil
|
||||
(list org-babel-sed-command
|
||||
(format "--file=\"%s\"" code-file)
|
||||
(format "-f \"%s\"" code-file)
|
||||
cmd-line
|
||||
in-file))
|
||||
" ")))
|
||||
|
|
Loading…
Reference in New Issue