From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Re: [BABEL][BUG] Tangle incorrect with variables Date: Fri, 01 Apr 2011 18:07:45 +0200 Message-ID: <4D95F851.9090006@gmail.com> References: <4D931E38.6000003@gmail.com> <87y63wqs5h.fsf@gmail.com> <4D9424E4.1090003@gmail.com> <80r59nwa8b.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=37280 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5hf6-0006DY-Sh for emacs-orgmode@gnu.org; Fri, 01 Apr 2011 12:57:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5gt3-0005uC-Rf for emacs-orgmode@gnu.org; Fri, 01 Apr 2011 12:07:52 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:50268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5gt3-0005tx-NQ for emacs-orgmode@gnu.org; Fri, 01 Apr 2011 12:07:49 -0400 Received: by wyf19 with SMTP id 19so3648084wyf.0 for ; Fri, 01 Apr 2011 09:07:48 -0700 (PDT) In-Reply-To: <80r59nwa8b.fsf@somewhere.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?UTF-8?B?U8OpYmFzdGllbiBWYXViYW4=?= Cc: emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/31/2011 06:00 PM, Sébastien Vauban wrote: > Hi Rainer, > > Rainer M Krug wrote: >>> I get the following tangled output >>> >>> --8<---------------cut here---------------start------------->8--- >>> >>> REV=$(cat <<'BABEL_TABLE' >>> master >>> BABEL_TABLE >>> ) >>> STATE=$(cat <<'BABEL_TABLE' >>> edited >>> BABEL_TABLE >>> ) >>> rm -rf ./R >>> rm -f ./spreadSim.sub >>> REVISION=$REV.$STATE >>> tar -xf nsa.$REVISION.tar.gz >>> $HOME/R/R/R-2.12.0/bin/Rscript --vanilla -e >>> "source('./R/generateLatinHypercubeScenarios.R'); doIt()" >>> for SCENARIO in ./R/scenarios/*.R; do >>> export SCENARIO=${SCENARIO#./R/scenarios/} >>> qsub nsa.sub >>> done >>> --8<---------------cut here---------------end--------------->8--- >>> >>> Which looks right to me. Could it be something specific about your >>> setup which is causing this issue? >> >> Sorry - I did not relize that the way the variables are inserted has >> changed - I should have tried the script before asking. It works fine. > > For my own understanding, could you explicit what you consider as changed in > the way the variables are inserted? It simply read: REV=69 STATE=edited Rainer > > Best regards, > Seb > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel: +33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2V+FEACgkQoYgNqgF2egrIygCggNLBvonVw8sHs4tSuJIVMrLT fwUAn2fgINZLJsNFMMWa/2M6m0bLL4RS =NzRp -----END PGP SIGNATURE-----