fish-shell/share/completions/cut.fish

12 lines
731 B
Fish
Raw Normal View History

complete -c cut -s b -l bytes -x -d "Output byte range"
complete -c cut -s c -l characters -x -d "Output character range"
complete -c cut -s d -l delimiter -x -d "Select field delimiter"
2018-06-24 06:30:31 +08:00
complete -c cut -s f -l fields -x -d "Select fields"
complete -c cut -s n -d "Don't split multi byte characters"
2018-06-24 06:30:31 +08:00
complete -c cut -l complement -d "complement the set of selected bytes, characters or fields"
complete -c cut -s s -l only-delimited -d "Do not print lines without delimiter"
2018-06-24 06:30:31 +08:00
complete -c cut -l output-delimiter -x -d "Select output delimiter"
complete -c cut -s z -l zero-terminated -d "line delimiter is NUL, not newline"
complete -c cut -l help -d "Display help and exit"
complete -c cut -l version -d "Display version and exit"