emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Babel, shell variable expansion in noweb function call
@ 2015-09-06 14:58 Kalev Takkis
  0 siblings, 0 replies; only message in thread
From: Kalev Takkis @ 2015-09-06 14:58 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 662 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-06 14:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-06 14:58 Babel, shell variable expansion in noweb function call Kalev Takkis

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).