From: Patrick McHardy <kaber@trash.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nft] src: use ':' instead of '=>' in dictionaries
Date: Thu, 16 Jan 2014 19:25:36 +0000 [thread overview]
Message-ID: <20140116192536.GA18619@macbook.localnet> (raw)
In-Reply-To: <1389893842-17821-1-git-send-email-pablo@netfilter.org>
On Thu, Jan 16, 2014 at 06:37:22PM +0100, Pablo Neira Ayuso wrote:
> Replace => by : to make it easier for most shell users, as
> > implies a redirection, let's avoid possible confusion that
> may result if you forget to escape it.
>
> This works fine if you don't forget to add space between the
> key and the value. If you forget to add the space, depending
> on the case, the scanner may recognize it correctly or process
> it as a string.
>
> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
> ---
> Tested here with many combinations, works fine if you don't
> forget the spaces. If you do, the result in unspecified since
> depending on the combination it may accept it or spot a
> parsing error.
Looks good. Please push to master so we can avoid conflicts with
my patch to make set flags parsable.
next prev parent reply other threads:[~2014-01-16 19:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-16 17:37 [PATCH nft] src: use ':' instead of '=>' in dictionaries Pablo Neira Ayuso
2014-01-16 19:25 ` Patrick McHardy [this message]
2014-01-16 19:50 ` Pablo Neira Ayuso
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=20140116192536.GA18619@macbook.localnet \
--to=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.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).