From: Olof Johansson <olof@ethup.se>
To: bd@bc-bd.org
Cc: dash@vger.kernel.org
Subject: Re: How to pass parameters containig options from variables
Date: Tue, 25 Sep 2012 15:21:02 +0200 [thread overview]
Message-ID: <20120925132102.GG10707@brutus.ethup.se> (raw)
In-Reply-To: <20120925084729.GG17149@bc-bd.org>
Hi,
On 2012-09-25 10:47 +0200, bd@bc-bd.org wrote:
> I am trying to pass these arguments
>
> -N -p -F "not host foo"
>
> to a binary, but
>
> ARGS="-N -p -F 'not host foo'"
> $DAEMON $ARGS
>
> get's passed as 6 arguments and not 4.
eval $DAEMON $ARGS should work.
--
---------------------------------------------------------------
| Olof Johansson http://stdlib.se/ |
| irc: zibri https://github.com/olof |
---------------------------------------------------------------
next prev parent reply other threads:[~2012-09-25 13:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 8:47 How to pass parameters containig options from variables bd
2012-09-25 13:21 ` Olof Johansson [this message]
2012-09-25 16:28 ` bd
2012-09-25 16:48 ` Paul Gilmartin
2012-09-25 18:55 ` Harald van Dijk
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120925132102.GG10707@brutus.ethup.se \
--to=olof@ethup.se \
--cc=bd@bc-bd.org \
--cc=dash@vger.kernel.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.
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 NNTP newsgroup(s).