Org-mode mailing list
 help / color / mirror / Atom feed
From: Kyle Meyer <>
To: Robby Kiggen | Essential IT <>
Subject: Re: Variables not set during tangle of sh code (org 9.5)
Date: Sun, 13 Dec 2020 06:32:16 GMT
Message-ID: <> (raw)
In-Reply-To: <>

Robby Kiggen | Essential IT writes:

> Hi,
> in  OrgMode  9.5 it seems that the variables during the tangling of sh
> aren't set/initialized.
> For example the block below:
> #+begin_src sh :var str="Hello World" :tangle
> echo $str
> #+end_src
> Gets tangled into:
> echo $str
> Which means the str="Hello World" line is missing.

My guess is that you haven't loaded ob-shell, as that's how I can
reproduce what you report.  After (require 'ob-shell), I see

  str='Hello World'
  echo $str

      reply	other threads:[~2020-12-13  6:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 11:34 Robby Kiggen | Essential IT
2020-12-13  6:32 ` Kyle Meyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ \
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone