2006-01-08 02:56:56 +00:00
|
|
|
complete -c uniq -s c -l count -d (_ "Print number of occurences")
|
|
|
|
complete -c uniq -s d -l repeated -d (_ "Only print duplicates")
|
2006-01-11 14:17:35 +00:00
|
|
|
complete -c uniq -s D -l all-repeated -d (_ "Remove non-duplicate lines") -f -x -a "
|
2005-09-20 13:31:55 +00:00
|
|
|
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'
|
|
|
|
"
|
2006-01-08 02:56:56 +00:00
|
|
|
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")
|
2006-01-11 14:17:35 +00:00
|
|
|
complete -c uniq -s w -l check-chars -d (_ "Compare only specified number of characters") -r
|
2006-01-08 02:56:56 +00:00
|
|
|
complete -c uniq -l help -d (_ "Display help and exit")
|
|
|
|
complete -c uniq -l version -d (_ "Display version and exit")
|
2005-09-20 13:31:55 +00:00
|
|
|
|