aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/uniq.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-17 20:13:39 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-17 20:13:39 +1000
commit343cafef346543282b5b6e825bc8f9dd10028a48 (patch)
tree1bcf221ecb525c7aeadc8325e7b780d3656e544b /share/completions/uniq.fish
parent95a01f3c8f15034433ffce368d8f2d13d925139c (diff)
Redo installation file structure, move lots of things to $PREFIX/share/fish
darcs-hash:20060217101339-ac50b-d93d2c620a4b7f75f05ff461a6edbee001da7613.gz
Diffstat (limited to 'share/completions/uniq.fish')
-rw-r--r--share/completions/uniq.fish15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/completions/uniq.fish b/share/completions/uniq.fish
new file mode 100644
index 00000000..fc218e06
--- /dev/null
+++ b/share/completions/uniq.fish
@@ -0,0 +1,15 @@
+complete -c uniq -s c -l count -d (_ "Print number of occurences")
+complete -c uniq -s d -l repeated -d (_ "Only print duplicates")
+complete -c uniq -s D -l all-repeated -d (_ "Remove non-duplicate lines") -f -x -a "
+ none\t'Remove none-duplicate lines'
+ prepend\t'Remove non-duplicate lines and print an empty line before each non-duplicate'
+ separate\t'Remove non-duplicate lines and print an empty line between each non-duplicate'
+"
+complete -c uniq -s f -l skip-fields -d (_ "Avoid comparing first N fields") -r
+complete -c uniq -s i -l ignore-case -d (_ "Case insensitive")
+complete -c uniq -s s -l skip-chars -d (_ "Avoid comparing first N characters") -r
+complete -c uniq -s u -l unique -d (_ "Only print unique lines")
+complete -c uniq -s w -l check-chars -d (_ "Compare only specified number of characters") -r
+complete -c uniq -l help -d (_ "Display help and exit")
+complete -c uniq -l version -d (_ "Display version and exit")
+