From: Jun T <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: [PATCH] _awk: support gawk ver. 5
Date: Thu, 28 Jan 2021 16:36:19 +0900 [thread overview]
Message-ID: <9AA5DF55-40AD-4E2B-9B36-C3034C0ADB4C@kba.biglobe.ne.jp> (raw)
Just recognize ver.5; no other change.
diff --git a/Completion/Unix/Command/_awk b/Completion/Unix/Command/_awk
index dcb2a6c21..e8f4a2530 100644
--- a/Completion/Unix/Command/_awk
+++ b/Completion/Unix/Command/_awk
@@ -1,6 +1,6 @@
#compdef awk gawk nawk
-# For gawk ver.3 and 4, in addition to POSIX.
+# For gawk ver.3 to 5, in addition to POSIX.
#
# gawk's options '-W ...' (such as '-W help') are not supported.
# gawk3 has some synonyms for long options (e.g., --compat is a synonym
@@ -14,7 +14,7 @@ local variant curcontext="$curcontext" state state_descr line ret=1
local -A opt_args
local -a args
-_pick_variant -r variant gawk4='GNU Awk 4' gawk3='GNU Awk 3' posix --version
+_pick_variant -r variant gawk4='GNU Awk [45]' gawk3='GNU Awk 3' posix --version
args=(
{-F+,--field-separator}'[define input field separator by extended regex]:extended regular expression:'
reply other threads:[~2021-01-28 7:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=9AA5DF55-40AD-4E2B-9B36-C3034C0ADB4C@kba.biglobe.ne.jp \
--to=takimoto-j@kba.biglobe.ne.jp \
--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).