"Charles C. Berry" writes:
> On Wed, 11 May 2016, Stig Brautaset wrote:
>>
>> I'm trying to evaluate a line of shell code and put its output into a
>> snippet that will be tangled to a file. My best attempt so far:
[...]
> Try `<>'.
>
> See (info "(org) Noweb reference syntax")
>
> ... <> ..
On Wed, 11 May 2016, Stig Brautaset wrote:
Hi,
I'm trying to evaluate a line of shell code and put its output into a
snippet that will be tangled to a file. My best attempt so far:
#+NAME: hostname
#+BEGIN_SRC sh
hostname -s
#+END_SRC
#+BEGIN_SRC conf :tangle /usr/local/etc/leafnode/c
Hi,
I'm trying to evaluate a line of shell code and put its output into a
snippet that will be tangled to a file. My best attempt so far:
#+NAME: hostname
#+BEGIN_SRC sh
hostname -s
#+END_SRC
#+BEGIN_SRC conf :tangle /usr/local/etc/leafnode/config :noweb tangle
expire = 20
s