From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Generate BEGIN_EXAMPLE block dynamically during export Date: Tue, 16 Feb 2016 17:28:39 -0500 Message-ID: <87mvr0nvc8.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVo72-0003fe-AK for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 17:28:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVo6z-0002Nd-0m for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 17:28:52 -0500 Received: from plane.gmane.org ([80.91.229.3]:60693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVo6y-0002NV-PU for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 17:28:48 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVo6x-0007vB-7z for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 23:28:47 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 23:28:47 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 23:28:47 +0100 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 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. :file foo perhaps? -- Nick