all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how i pass output of one codeblock as iinput of another codeblock without manual copy paste
@ 2012-07-02 21:45 James Kang
  2012-07-02 23:25 ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: James Kang @ 2012-07-02 21:45 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hi,

I have been using code blocks with the following way to pass one's
output to the other's input(or input variable).
You can notice that I am manually copying/pasting the contents of
"RESULTS" and create a table with a name "my_table".
Now, is there anyway I can do this passing the output automatically
without manual copy/paste?

Thanks
(using orgmode 7.8)

#+srcname: code1
#+begin_src sh :exports code :results value table
 Some codes here
#+end_src

#+RESULTS:
|Good results|
#+tblname: my_table   ### this is copied from the previous results manually
|Good results|


#+call: transpose(table=my_table)

#+results: transpose(table=my_table)
|Good results Processed by transpose|

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

end of thread, other threads:[~2012-07-03 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02 21:45 how i pass output of one codeblock as iinput of another codeblock without manual copy paste James Kang
2012-07-02 23:25 ` Thomas S. Dye
2012-07-03 15:10   ` James Kang

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.