all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Preventing RESULTS from being formatted as org table [ob-awk]
@ 2016-06-12  6:46 Kaushal Modi
  2016-06-12  6:59 ` Kaushal Modi
  0 siblings, 1 reply; 9+ messages in thread
From: Kaushal Modi @ 2016-06-12  6:46 UTC (permalink / raw)
  To: emacs-org list, eschulte

[-- 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 --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-06-13 14:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-12  6:46 Preventing RESULTS from being formatted as org table [ob-awk] Kaushal Modi
2016-06-12  6:59 ` 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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.