From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Referring to an Org Babel variable in the invocation arguments to another Org Babel code block Date: Tue, 27 Dec 2016 09:56:03 -0800 Message-ID: References: <87inq51q4o.fsf@apertron.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLvyx-0001ib-SC for emacs-orgmode@gnu.org; Tue, 27 Dec 2016 12:56:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLvyt-0000p7-21 for emacs-orgmode@gnu.org; Tue, 27 Dec 2016 12:56:15 -0500 Received: from iport-bcv3-out.ucsd.edu ([132.239.0.89]:34568) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1cLvys-0000oo-KZ for emacs-orgmode@gnu.org; Tue, 27 Dec 2016 12:56:10 -0500 In-Reply-To: <87inq51q4o.fsf@apertron.net> 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" To: Zack Piper Cc: emacs-orgmode On Tue, 27 Dec 2016, Zack Piper wrote: > Hi all, > > Hopefully the below can explain better: [deleted] This is a workable idiom. C-c C-c on the second block produces the output shown. #+NAME: block-1 #+BEGIN_SRC shell :var x="X" echo ">>>" $x "<<<" #+END_SRC #+BEGIN_SRC shell :var y=block-1("input to this block") echo $y #+END_SRC #+RESULTS: : >>> input to this block <<< HTH, Chuck