Re: [O] No output from babel shell src block

2016-05-12 Thread Thomas S. Dye
John Hendy writes: > There's no worg page for the shell language (surprised me!). Several babel languages in core lack documentation on Worg in addition to shell: calc, comint, coq, ebnf, emacs-lisp(!), forth, fortran, haskell, io, java, javascript, objective caml, org(!!!), perl, plantuml, proc

Re: [O] No output from babel shell src block

2016-05-12 Thread Ken Mankoff
This is a known issue with diff, I think. Add a line containing ":" below, or "echo" or "diff foo bar | cat". https://stackoverflow.com/questions/27304469/capturing-the-output-of-diff-with-org-babel I have (setq org-babel-default-header-args:sh '((:prologue . "exec 2>&1") (:epilogue . ":"))

[O] No output from babel shell src block

2016-05-12 Thread John Hendy
Hello, I've not used shell in babel much, and am confused. I was trying to include diff output from a block in an analysis and it's not giving any output. As a test, I have a.txt which contains 1 and b.txt which contains 2, with boths in ~/Desktop. Manually: $ cd ~/Desktop $ diff a.txt b.txt 1c