From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maurizio Vitale Subject: Re: [babel] passing strings in Date: Thu, 25 Mar 2010 12:21:21 -0400 Message-ID: <87fx3ov0ce.fsf@polymath-solutions.com> References: <87eij8whoa.fsf@cuma.i-did-not-set--mail-host-address--so-tickle-me> <87pr2sxu0m.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nupll-0001Fz-8b for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 12:18:53 -0400 Received: from [140.186.70.92] (port=56456 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nuplj-0001E5-Up for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 12:18:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nupli-0000I7-23 for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 12:18:51 -0400 Received: from host.dbahosting.com ([209.59.183.4]:41617) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nuplh-0000Hx-TG for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 12:18:50 -0400 In-Reply-To: <87pr2sxu0m.fsf@stats.ox.ac.uk> (Dan Davison's message of "Thu, 25 Mar 2010 12:09:45 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: emacs-orgmode@gnu.org >>>>> "Dan" == Dan Davison writes: Dan> Maurizio Vitale Dan> 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