From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Kang Subject: how i pass output of one codeblock as iinput of another codeblock without manual copy paste Date: Mon, 2 Jul 2012 17:45:03 -0400 Message-ID: <-8201756380585969276@unknownmsgid> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SloQf-0005Qe-55 for emacs-orgmode@gnu.org; Mon, 02 Jul 2012 17:45:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SloQd-00085k-J2 for emacs-orgmode@gnu.org; Mon, 02 Jul 2012 17:45:08 -0400 Received: from mail-gg0-f169.google.com ([209.85.161.169]:39229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SloQd-00082x-CX for emacs-orgmode@gnu.org; Mon, 02 Jul 2012 17:45:07 -0400 Received: by ggm4 with SMTP id 4so5394382ggm.0 for ; Mon, 02 Jul 2012 14:45:04 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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|