[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [babel] passing strings in
From: |
Maurizio Vitale |
Subject: |
Re: [Orgmode] [babel] passing strings in |
Date: |
Thu, 25 Mar 2010 12:21:21 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>>>>> "Dan" == Dan Davison <address@hidden> writes:
Dan> Maurizio Vitale
Dan> <address@hidden>
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