cut

version: 0.0.9
[-d] [-s] [-z] [--output-delimiter] ((-f|-b|-c) {{sequence}}) {{sourcefile}}+

Prints specified byte or field columns from each line of stdin or the input files

Options

--help, -h

Print help information

--version, -V

Print version information

--bytes=<LIST>, -b <LIST>

filter byte columns from the input source

--characters=<LIST>, -c <LIST>

alias for character mode

--delimiter=<DELIM>, -d <DELIM>

specify the delimiter character that separates fields in the input source. Defaults to Tab.

--fields=<LIST>, -f <LIST>

filter field columns from the input source

--complement

invert the filter - instead of displaying only the filtered columns, display all but those columns

--only-delimited, -s

in field mode, only print lines which contain the delimiter

--zero-terminated, -z

instead of filtering columns based on line, filter columns based on \0 (NULL character)

--output-delimiter=<NEW_DELIM>

in field mode, replace the delimiter in output lines with this option's argument