[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Variables not set during tangle of sh code (org 9.5)
From: |
Kyle Meyer |
Subject: |
Re: Variables not set during tangle of sh code (org 9.5) |
Date: |
Sun, 13 Dec 2020 06:32:16 GMT |
Robby Kiggen | Essential IT writes:
> Hi,
>
> in OrgMode 9.5 it seems that the variables during the tangling of sh
> aren't set/initialized.
>
> For example the block below:
> #+begin_src sh :var str="Hello World" :tangle helloworld.sh
> echo $str
> #+end_src
>
> Gets tangled into:
> echo $str
>
> Which means the str="Hello World" line is missing.
My guess is that you haven't loaded ob-shell, as that's how I can
reproduce what you report. After (require 'ob-shell), I see
str='Hello World'
echo $str
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Variables not set during tangle of sh code (org 9.5),
Kyle Meyer <=