From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nuno Salgado Subject: noweb Date: Wed, 22 Jan 2020 19:41:20 +0000 Message-ID: <87sgk7qnxb.fsf@nulle1.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47315) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuLsi-0000GM-3V for Emacs-orgmode@gnu.org; Wed, 22 Jan 2020 14:41:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuLsh-0002F6-23 for Emacs-orgmode@gnu.org; Wed, 22 Jan 2020 14:41:39 -0500 Received: from salgado.eu ([2001:41d0:51:1::144c]:43822 helo=cosov1.salgado.eu) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuLsg-000289-SB for Emacs-orgmode@gnu.org; Wed, 22 Jan 2020 14:41:39 -0500 Received: from bl8-169-238.dsl.telepac.pt ([85.241.169.238] helo=nulle1) by cosov1.salgado.eu with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1iuLsW-0007qk-SN for Emacs-orgmode@gnu.org; Wed, 22 Jan 2020 19:41:29 +0000 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Emacs-orgmode@gnu.org Hi, I'm writing an installation script in org-mode. I'm doing something like this: Vars definition: #+NAME:DEFVARS #+BEGIN_SRC shell :tangle yes v1=1; v2=2; #+END_SRC Script1: #+BEGIN_SRC shell :tangle yes :noweb eval <> echo $v1; #+END_SRC Script2: #+BEGIN_SRC shell :tangle yes :noweb eval <> echo $v2; echo $v1; #+END_SRC This works great when I do C-c C-c in each script. But when I do org-babel-tangle, the code gets two <>. Does it makes sense? Since I set noweb = eval why does it exports <>? Could you please help me turning around this problem without removing every reference <> Thank you very much. Regards, NS