emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] result of code evaluation


From: Eric Schulte
Subject: Re: [O] result of code evaluation
Date: Sun, 21 Aug 2011 12:14:02 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Henri-Paul Indiogine <address@hidden> writes:

> Greetings!
>
> I have another question regarding the output of the bash script.   I
> have a bunch of echo statements.  org-mode outputs now everything in a
> table.  Is it possible to suppress this and have just plain lines?
> That was the behavior with a simple script.
>

Yes, the ":results scalar" header argument is what you want.

#+begin_src sh :results scalar
  echo 1
  echo 2
  echo 3
#+end_src

#+results:
: 1
: 2
: 3

Best -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]