I want to write some shell script in my org file, so I add these line
in it.
#+name: random line
#+begin_src sh
cat filename.txt | sort --random-sort | sed -e '1!d'
#+end_src
But when I put cursor in src block and press `C-c '`, emacs show that
error:
byte-code: Language mode `sh-mode' fails with: "Invalid file-name"
The other modes (at least python, sql) is run without problem.
Can anybody show me how to fix this?
My emacs version: 23.4.1
My org-mode version: 7.8.11
And this is my config: https://github.com/favadi/dotemacs
--
PHẠM Văn Điệp
h : http://favadi.com
e : [email protected]
m : +84 984 339 841
_
ASCII ribbon campaign ( )
- against HTML email X
& vCards / \