From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Generate BEGIN_EXAMPLE block dynamically during export Date: Tue, 16 Feb 2016 16:47:31 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113cd1faf30c2b052bea164b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVnTg-00080U-JH for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 16:48:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVnTf-0006l1-PF for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 16:48:12 -0500 Received: from mail-ig0-x234.google.com ([2607:f8b0:4001:c05::234]:34424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVnTf-0006kn-Jy for emacs-orgmode@gnu.org; Tue, 16 Feb 2016 16:48:11 -0500 Received: by mail-ig0-x234.google.com with SMTP id g6so43172214igt.1 for ; Tue, 16 Feb 2016 13:48:11 -0800 (PST) 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: "Thomas S. Dye" Cc: emacs-org list --001a113cd1faf30c2b052bea164b Content-Type: text/plain; charset=UTF-8 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. --001a113cd1faf30c2b052bea164b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
OK, now I have just one follow = up question. I would like to tangle the result to a separate file.

So I am lookin= g for a way to save the result "> tar xvzf bar.tar.gz" to a se= parate file. I tried adding ":tangle filename" to #+CALL/#+BEGIN_= SRC but that did not help. Adding to #+CALL does not do anything. And addin= g ":tangle file" to #+BEGIN_SRC block exports the code (not resul= ts) to the file as expected.


--001a113cd1faf30c2b052bea164b--