Remove sections from each line of files
cut -b {bytes} -c {characters} -d {delimiter} -f {fields} -n {flag-n} ๐ bytes ๐ characters ๐ delimiter ๐ fields ๐ flag-n cut -b {bytes} -c {characters} -d {delimiter} -f {fields} -n {flag-n} Sandbox: execFile · Timeout: 30s
system.file.cut system.file.search system.file.process system.file.copy system.file.move system.file.delete | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
bytes | array | No | - | select only these bytes | -b, --bytes |
characters | array | No | - | select only these characters | -c, --characters |
delimiter | string | No | - | use DELIM instead of TAB for field delimiter | -d, --delimiter |
fields | array | No | - | select only these fields; also print any line that contains no delimiter character, unless the -s option is specified | -f, --fields |
flag-n | string | No | - | (ignored) --complement complement the set of selected bytes, characters or fields | -n |
only-delimited | string | No | - | do not print lines not containing delimiters --output-delimiter=STRING use STRING as the output delimiter; the default is to use the input delimiter | -s, --only-delimited |
zero-terminated | string | No | - | line delimiter is NUL, not newline --help display this help and exit --version output version information and exit | -z, --zero-terminated |
M | boolean | No | - | from first to M'th (included) byte, character or field | -M |
complement | boolean | No | - | --complement | |
help | boolean | No | - | --help | |
output_delimiter | boolean | No | - | --output-delimiter | |
version | boolean | No | - | --version |
Display help message
cut --help cut is a command-line utility for remove sections from each line of files.
cut -b {bytes} -c {characters} -d {delimiter} -f {fields} -n {flag-n}