cut -b list [-n] [file...]
cut -c list [file ...]
cut -f list [-d string] [-s] [file ...]
List is a comma-separated or white space-separated set of increasing numbers, number ranges, or both. Each number range consists of a number, a hyphen (-), and a second number. The number range selects a set of fields or columns ranging from the column or field specified by the first number to the column or field specified by the second number. Numbers or number ranges may be preceded by a hyphen (-), which selects all fields or columns from 1 to the first number. Numbers or number ranges may also be followed by a hyphen (-), which selects all fields or columns from the last number to the end of the line. Numbers and number ranges may repeat, overlap, and occur in any order. It is not an error to select fields or columns not present in the input line.
If the byte selected by low is not the first byte of a character, low will be decremented to select the first byte of the character originally selected by low. If the byte selected by high is not the last byte of a character, high will be decremented to select the last byte of the character prior to the character originally selected by high, or zero if there is no prior character. If the resulting range element has high equal to zero or low greater than high, the list element will be dropped from list for that input line without causing an error.
Each element in list of the form low- will be treated as above with high set to the number of bytes in the current line, not including the terminating newline character. Each element in list of the form -high will be treated as above with low set to 1. Each element in list of the form num (a single number) will be treated as above with low set to num and high set to num.
If file is specified on the command line by -, standard input is used. If no file is specified, standard input is used.
paste(1)