emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Maurizio Vitale <maurizio.vitale@polymath-solutions.com>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] passing strings in
Date: Thu, 25 Mar 2010 12:21:21 -0400	[thread overview]
Message-ID: <87fx3ov0ce.fsf@polymath-solutions.com> (raw)
In-Reply-To: <87pr2sxu0m.fsf@stats.ox.ac.uk> (Dan Davison's message of "Thu, 25 Mar 2010 12:09:45 -0400")

>>>>> "Dan" == Dan Davison <davison@stats.ox.ac.uk> writes:

    Dan> Maurizio Vitale
    Dan> <mav@cuma.i-did-not-set--mail-host-address--so-tickle-me>
    Dan> writes:

    >> In the table/block pair below, I'm trying to pass an IP number to
    >> some shell code.

    Dan> Hi Maurizio,

    Dan> I think you've forgotten to specify that 'ip' is an argument of
    Dan> the system-ping block. So either add e.g. :var ip=0 or use
    Dan> #+source: system-ping(ip=0) (You can of course use any default
    Dan> argument value other than 0)

I used to have the argument specification. But then discovered it was
working without and since I didn't have a need for a default value, I
removed it.

Maybe this work accidentally and it is not supported.

    Dan> Additionally, I'm finding that the ip column needs to be
    Dan> single-quoted (whether it is an IP number or a human-readable
    Dan> alias). I'm rushing a bit at the moment, but that looks like a
    Dan> bug.

    Dan> So in any case, this works for me (also works with
    Dan> single-quoted IP numbers)

Thanks! 


        Maurizio

      reply	other threads:[~2010-03-25 16:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 15:21 [babel] passing strings in Maurizio Vitale
2010-03-25 16:00 ` Eric Schulte
2010-03-25 16:17   ` Maurizio Vitale
2010-03-25 17:12     ` Eric Schulte
2010-03-25 16:49   ` Dan Davison
2010-03-25 19:05     ` Thomas S. Dye
2010-03-25 19:23     ` Dan Davison
2010-03-25 19:48       ` Eric Schulte
2010-03-25 16:09 ` Dan Davison
2010-03-25 16:21   ` Maurizio Vitale [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=87fx3ov0ce.fsf@polymath-solutions.com \
    --to=maurizio.vitale@polymath-solutions.com \
    --cc=davison@stats.ox.ac.uk \
    --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).