emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Keith Amidon <camalot@picnicpark.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem with bash arrays from list-valued org-babel :var assignments?
Date: Sat, 10 Jun 2017 00:53:52 +0200	[thread overview]
Message-ID: <87zidgzsan.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <1496984194.5909.4.camel@picnicpark.org> (Keith Amidon's message of "Thu, 08 Jun 2017 21:56:34 -0700")

Hello,

Keith Amidon <camalot@picnicpark.org> writes:

> With current org-mode, when I try to execute the following org-babel
> block:
>
> #+begin_src bash :var lst='(1 2 3 4 5 6 7)
> printf "%s\n" "${lst[*]}"
> #+end_src
>
>
> I get result and the following error in the minibuffer:
>
>    Wrong type argument: listp, 1

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

      parent reply	other threads:[~2017-06-09 22:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-09  4:56 Problem with bash arrays from list-valued org-babel :var assignments? Keith Amidon
2017-06-09  9:16 ` Neil Jerram
2017-06-09 22:53 ` Nicolas Goaziou [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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87zidgzsan.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=camalot@picnicpark.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).