From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas S. Dye Subject: Re: Generate BEGIN_EXAMPLE block dynamically during export Date: Tue, 16 Feb 2016 12:18:43 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVnxf-0000GT-9k for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 17:19:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVnxb-0006DU-6c for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 17:19:11 -0500 Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:33617) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1aVnxa-0006CY-V4 for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 17:19:07 -0500 In-reply-to: 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: Kaushal Modi Cc: emacs-org list Aloha Kaushal, Kaushal Modi writes: > OK, now I have just one follow up question. I would like to tangle the > result to a separate file. > > So I am looking for a way to save the result "> tar xvzf bar.tar.gz" to a > separate file. I tried adding ":tangle filename" to #+CALL/#+BEGIN_SRC but > that did not help. Adding to #+CALL does not do anything. And adding > ":tangle file" to #+BEGIN_SRC block exports the code (not results) to the > file as expected. Can't you export to the separate file? All the best, Tom -- Thomas S. Dye http://www.tsdye.com