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