Re: [O] Babel shell script issue

2016-04-25 Thread Jarmo Hurri
Eric S Fraga writes: > On Monday, 25 Apr 2016 at 07:24, Jarmo Hurri wrote: >> Greetings. >> >> I have trouble running shell scripts in Babel. I can't even reproduce >> examples from worg. For example, this piece of org >> >> #+begin_src sh :results drawer >> cat <> | 1 | 2 >> |-- >> | a

Re: [O] Babel shell script issue

2016-04-25 Thread Jarmo Hurri
Sylvain Rousseau writes: > Hi, > > I had the same problem. You actually need to use: > > #+begin_src shell :results drawer > #+end_src > Ok, this removes the error, but I still get no reasonable output from the example from worg: #+begin_src shell :results drawer cat <

Re: [O] Babel shell script issue

2016-04-25 Thread Loris Bennett
Eric S Fraga writes: > On Monday, 25 Apr 2016 at 08:20, Sylvain Rousseau wrote: >> Hi, >> >> I had the same problem. You actually need to use: >> >> #+begin_src shell :results drawer >> #+end_src >> >> Using sh loads an org function that comes with your emacs and is outdated... > > Intere

Re: [O] Babel shell script issue

2016-04-25 Thread Eric S Fraga
On Monday, 25 Apr 2016 at 08:20, Sylvain Rousseau wrote: > Hi, > > I had the same problem. You actually need to use: > > #+begin_src shell :results drawer > #+end_src > > Using sh loads an org function that comes with your emacs and is outdated... Interestingly, "sh" worked for me with qui

Re: [O] Babel shell script issue

2016-04-25 Thread Sylvain Rousseau
Hi, I had the same problem. You actually need to use: #+begin_src shell :results drawer #+end_src Using sh loads an org function that comes with your emacs and is outdated... Btw could these functions be marked as deprecated but aliased to the new ones? Sylvain. 2016-04-25 10:04 GMT+0

Re: [O] Babel shell script issue

2016-04-25 Thread Eric S Fraga
On Monday, 25 Apr 2016 at 07:24, Jarmo Hurri wrote: > Greetings. > > I have trouble running shell scripts in Babel. I can't even reproduce > examples from worg. For example, this piece of org > > #+begin_src sh :results drawer > cat < | 1 | 2 > |-- > | a | b > EOF > #+end_src > > from

[O] Babel shell script issue

2016-04-25 Thread Jarmo Hurri
Greetings. I have trouble running shell scripts in Babel. I can't even reproduce examples from worg. For example, this piece of org #+begin_src sh :results drawer cat