[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to call a source code block from another one
From: |
Rasmus |
Subject: |
Re: [O] How to call a source code block from another one |
Date: |
Wed, 08 Mar 2017 13:21:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Marcin Borkowski <address@hidden> writes:
> Hi all,
>
> and sorry if this is trivial, but I didn't find it in the manual.
>
> Assume that I have a few source code blocks (in my case, in bash) and
> I want to call them in sequence. Is it possible to write another,
> "master" source code block which would then call those previous blocks?
Couldn't you use ob noweb for that?
http://orgmode.org/org.html#noweb
The example here might be close to what you want, if I understand
correctly,
http://orgmode.org/org.html#noweb_002dref
Hope it helps,
Rasmus
--
There are known knowns; there are things we know that we know