system enabled verified low v1.0.0

cut

Remove sections from each line of files

📋 Live Preview
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

Capabilities

system.file.cut
system.file.search
system.file.process
system.file.copy
system.file.move
system.file.delete

Parameters

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

Examples

Display help message

cut --help

Documentation

cut โ€” Remove sections from each line of files

Overview

cut is a command-line utility for remove sections from each line of files.

Usage

cut -b {bytes} -c {characters} -d {delimiter} -f {fields} -n {flag-n}