From: Kaushal Modi <kaushal.modi@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>, eschulte@cs.unm.edu
Subject: Preventing RESULTS from being formatted as org table [ob-awk]
Date: Sun, 12 Jun 2016 06:46:31 +0000 [thread overview]
Message-ID: <CAFyQvY0XW_0qHf_FFZ1iwtOOtFFvCiYWBzBmqtKyjTtbEQqr5w@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]
Hi,
I am running the latest builds of emacs-25 branch and org master branch.
I used ob-awk for the first time today and was surprised to see that the
#+RESULTS: were displayed as org tables. I do not know if that is due to
ob-awk or ob-core and so am posting it here.
Here is the minimum working example:
(1) Launch emacs -Q
(2) Create a test.txt file with the below contents (without the ===== lines
of course):
===== test.txt =====
emacs 25.0.95
org-mode 8.3.4
=====
(3) Eval (require 'ob-awk)
(4) Create this test.org file
===== test.org =====
#+BEGIN_SRC awk :in-file test.txt :exports both
{ print "My", $1, "version is", $2, "."}
#+END_SRC
=====
(5) Now with point in that src block, hit C-c C-c, answer "yes" to the
babel eval query, and you will get the below result!
#+RESULTS:
| My | emacs | version | is | 25.0.95 | . |
| My | org-mode | version | is | 8.3.4 | . |
So how can I generate the result as one would normally see by running awk
in the terminal, without the additional org-table pipe characters?
--
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 1725 bytes --]
next reply other threads:[~2016-06-12 6:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-12 6:46 Kaushal Modi [this message]
2016-06-12 6:59 ` Preventing RESULTS from being formatted as org table [ob-awk] Kaushal Modi
2016-06-12 7:05 ` Kaushal Modi
2016-06-12 16:30 ` Kaushal Modi
2016-06-12 18:22 ` Thomas S. Dye
2016-06-12 18:41 ` Kaushal Modi
2016-06-12 19:29 ` Thomas S. Dye
2016-06-12 21:02 ` Charles C. Berry
2016-06-13 14:12 ` Kaushal Modi
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=CAFyQvY0XW_0qHf_FFZ1iwtOOtFFvCiYWBzBmqtKyjTtbEQqr5w@mail.gmail.com \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=eschulte@cs.unm.edu \
/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).