fish-shell/init/completions/uniq.fish
axel d4034fc253 Yet another batch of description tweaks, as well as the last major checkin of translations to swedish (updated patch)
darcs-hash:20060111141735-ac50b-b6a9ac5d5d9eb8eac28dd39968cd28f99044e8f5.gz
2006-01-12 00:17:35 +10:00

16 lines
939 B
Fish

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")