mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 20:34:07 +08:00
690648e1b0
darcs-hash:20060108025656-ac50b-e2309829a0afa6b3270d13814e9600d0fd372407.gz
16 lines
921 B
Fish
16 lines
921 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-suplicate 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 N characters") -r
|
|
complete -c uniq -l help -d (_ "Display help and exit")
|
|
complete -c uniq -l version -d (_ "Display version and exit")
|
|
|