From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jeremy Sowden <jeremy@azazel.net>
Cc: Netfilter Devel <netfilter-devel@vger.kernel.org>, kadlec@netfilter.org
Subject: Re: [PATCH ipset] bash-completion: fix syntax error
Date: Tue, 22 Aug 2023 11:12:45 +0200 [thread overview]
Message-ID: <ZOR8DeYVvQkEWjCL@calendula> (raw)
In-Reply-To: <20230721221311.1582661-1-jeremy@azazel.net>
On Fri, Jul 21, 2023 at 11:13:11PM +0100, Jeremy Sowden wrote:
> There is a syntax error in a redirection:
>
> $ bash -x utils/ipset_bash_completion/ipset
> + shopt -s extglob
> utils/ipset_bash_completion/ipset: line 365: syntax error near unexpected token `('
> utils/ipset_bash_completion/ipset: line 365: `done < <(PATH=${PATH}:/sbin ( command ip -o link show ) )'
>
> Move the environment variable assignment into the sub-shell.
Applied, thanks
prev parent reply other threads:[~2023-08-22 9:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-21 22:13 [PATCH ipset] bash-completion: fix syntax error Jeremy Sowden
2023-08-22 9:12 ` Pablo Neira Ayuso [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZOR8DeYVvQkEWjCL@calendula \
--to=pablo@netfilter.org \
--cc=jeremy@azazel.net \
--cc=kadlec@netfilter.org \
--cc=netfilter-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.