fish-shell/share/completions/cut.fish
Johannes Altmanninger 9c327b19a6 Fix extra or missing newlines at end of file in our fish scripts
New fish_indent does that too, so this will make any future reformatting
diffs smaller.

Done using either of:

	perl -pi -e 'undef $/; s/\n*$/\n/' share/**.fish
	kak -n -f '<a-/>\n*<ret>d' share/**.fish
2020-08-09 23:53:46 +02:00

12 lines
731 B
Fish

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"
complete -c cut -s f -l fields -x -d "Select fields"
complete -c cut -s n -d "Don't split multi byte characters"
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"
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"