summary refs log tree commit diff
path: root/Completion/Unix/Command/_join
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-05-13 16:08:35 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-05-13 16:08:35 +0000
commit547adf2021e2e57e421d27e5620170a8751d4274 (patch)
treec86db928284b551f8616bb76fc5263b8f9a8148b /Completion/Unix/Command/_join
parent8a30b5f0df3809bb70c28b786ac30e5cdd169693 (diff)
downloadzsh-547adf2021e2e57e421d27e5620170a8751d4274.tar.gz
zsh-547adf2021e2e57e421d27e5620170a8751d4274.tar.xz
zsh-547adf2021e2e57e421d27e5620170a8751d4274.zip
25018: Omari Norman: completion for awk, join, sort
Diffstat (limited to 'Completion/Unix/Command/_join')
-rw-r--r--Completion/Unix/Command/_join23
1 files changed, 23 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_join b/Completion/Unix/Command/_join
new file mode 100644
index 000000000..956d9d3b8
--- /dev/null
+++ b/Completion/Unix/Command/_join
@@ -0,0 +1,23 @@
+#compdef join
+
+# completions for GNU join version 5.97
+
+local arguments
+
+arguments=(
+    '-a+[print unpairable lines coming from file FILENUM, where FILENUM is 1 or 2, corresponding to FILE1 or FILE2]:file number:(1 2)'
+    '-e+[replace missing input fields with EMPTY]:replacement string:'
+    '(-i --ignore-case)'{-i,--ignore-case}'[ignore differences in case when comparing fields]'
+    "-j+[equivalent to '-1 FIELD -2 FIELD']:field number:"
+    '-o+[obey FORMAT while constructing output line]:format string:'
+    '-t+[use CHAR as input and output field separator]:separator:'
+    '-v+[like -a FILENUM, but suppress joined output lines]:file number:(1 2)'
+    '-1+[join on this FIELD of file 1]:field number:'
+    '-2+[join on this FIELD of file 2]:field number:'
+    --help'[display help and exit]'
+    --version'[output version information and exit]'
+    '1:file 1:_files'
+    '2:file 2:_files'
+    )
+
+_arguments -s $arguments