about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2021-02-01 09:40:34 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2021-02-01 09:40:34 +0900
commit93c4cc0d8f1ad92f5f407a50e98d62bdc7d5c1b4 (patch)
tree2f81b0644d95da07a9e5b133a8928cb2e8b4c434 /Completion
parent8f42ecd8eecd848ac5a1efdff9d7db15cc89422f (diff)
downloadzsh-93c4cc0d8f1ad92f5f407a50e98d62bdc7d5c1b4.tar.gz
zsh-93c4cc0d8f1ad92f5f407a50e98d62bdc7d5c1b4.tar.xz
zsh-93c4cc0d8f1ad92f5f407a50e98d62bdc7d5c1b4.zip
47883: _awk: support gawk ver.5
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_awk4
1 files changed, 2 insertions, 2 deletions
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:'