emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Babel, shell variable expansion in noweb function call


From: Kalev Takkis
Subject: [O] Babel, shell variable expansion in noweb function call
Date: Sun, 6 Sep 2015 17:58:18 +0300

Hi list,

I'm struggling with the following example and failing get it to work:

  #+begin_src bash :results value code :noweb yes
    p1="/foo/bar"
    p2="/foo/baz/foo"
    rpath=<<relative_path(path1="$p1", path2="$p2")>>
  #+end_src


If the parameters are given as values such as path1="/foo/bar", the function works as expected, from which I deduce that the problem must be in parameter expansion. Is it? If yes, is there a solution?

All the best,
Kalev

reply via email to

[Prev in Thread] Current Thread [Next in Thread]