fish-shell/init/completions/sort.fish
axel 7ddecde543 Add subdirectories
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz
2005-09-20 23:31:55 +10:00

21 lines
1.2 KiB
Fish

complete -c sort -s b -l ignore-leading-blanks -d "Ignore leading blanks"
complete -c sort -s d -l dictionary-order -d "Consider only blanks and alphanumerics"
complete -c sort -s f -l ignore-case -d "Ignore case"
complete -c sort -s g -l general-numeric-sort -d "Compare general numeric value"
complete -c sort -s i -l ignore-nonprinting -d "Consider only printable"
complete -c sort -s M -l month-sort -d "Compare month names"
complete -c sort -s n -l numeric-sort -d "Compare string numerical value"
complete -c sort -s r -l reverse -d "Reverse results"
complete -c sort -s c -l check -d "Only check if sorted"
complete -c sort -s k -l key -d "Define key"
complete -c sort -s m -l merge -d "Merge sorted files"
complete -c sort -s o -l output -f -d "Write to file"
complete -c sort -s s -l stable -d "Stabilize sort"
complete -c sort -s S -l buffer-size -r -d "Set main memory buffer"
complete -c sort -s t -l field-separator -d "Field separator"
complete -c sort -s T -l temporary-directory -r -d "Set temporary directory"
complete -c sort -s u -l unique -d "Output only first of equal lines"
complete -c sort -s z -l zero-terminated -d "Lines end with 0 byte"
complete -c sort -l help -d "Display help and exit"
complete -c sort -l version -d "Display version and exit"