emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Henri-Paul Indiogine <hindiogine@gmail.com>
Cc: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>, emacs-orgmode@gnu.org
Subject: Re: result of code evaluation
Date: Sun, 21 Aug 2011 12:14:02 -0600	[thread overview]
Message-ID: <87ei0ebpfm.fsf@gmail.com> (raw)
In-Reply-To: CAG_r7O5k2-hyaNDzzXXBHeoe++wX9wG8oVpqXx9mC8tqk9QLkw@mail.gmail.com

Henri-Paul Indiogine <hindiogine@gmail.com> 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	other threads:[~2011-08-21 18:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19 19:06 result of code evaluation Henri-Paul Indiogine
2011-08-19 20:00 ` Sebastien Vauban
2011-08-19 20:10   ` Henri-Paul Indiogine
2011-08-19 20:20     ` Sebastien Vauban
2011-08-19 22:08       ` Henri-Paul Indiogine
2011-08-21 18:14         ` Eric Schulte [this message]
     [not found] <4E4EC0F1.5070809@ymail.com>
2011-08-19 20:02 ` iminet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ei0ebpfm.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=hindiogine@gmail.com \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).