From: Eric Cook <llua@gmx.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] relax the pattern for interface matching
Date: Mon, 12 Jan 2015 19:28:43 -0500 [thread overview]
Message-ID: <54B466BB.5070002@gmx.com> (raw)
In-Reply-To: <1421107881-5216-1-git-send-email-llua@gmx.com>
On 01/12/2015 07:11 PM, Eric Cook wrote:
> Strangely 0ero, -0ero, *0ero, 0ero$'\a'.0, are all legal names for interfaces in linux.
>
> ---
> Completion/Unix/Command/_ip | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Completion/Unix/Command/_ip b/Completion/Unix/Command/_ip
> index 7a84ad5..3b68c35 100644
> --- a/Completion/Unix/Command/_ip
> +++ b/Completion/Unix/Command/_ip
> @@ -9,7 +9,7 @@
> # Values encoding simple types
> #
> local -a subcmd_dev
> -subcmd_dev=(/$'[[:alpha:]]##[[:digit:]]##(\.[[:digit:]]##)#\0'/ ':interfaces:network interface:_net_interfaces')
> +subcmd_dev=(/$'[[:alnum:][:punct:][:cntrl:][:digit:]]##\0'/ ':interfaces:network interface:_net_interfaces')
>
> local -a subcmd_onoff
> subcmd_onoff=(/$'(on|off)\0'/ ':onoff:state (on or off):(on off)')
This was meant to be sent as a reply to X-seq: 34259:/
prev parent reply other threads:[~2015-01-13 0:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <0LrN1u-1Xlb7a1xOu-0132sf>
2015-01-13 0:11 ` Eric Cook
2015-01-13 0:28 ` Eric Cook [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=54B466BB.5070002@gmx.com \
--to=llua@gmx.com \
--cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).