| CUT ( 1 ) | USER COMMANDS | CUT ( 1 ) |
|---|
The option argument list is a comma-separated or blank-separated list of positive numbers and ranges. Ranges can be of three forms. The first is two positive integers separated by a hyphen (low-high), which represents all fields from low to high. The second is a positive number preceded by a hyphen (-high), which represents all fields from field 1 to high. The last is a positive number followed by a hyphen (low-), which represents all fields from low to the last field, inclusive. Elements in the list can be repeated, can overlap, and can appear in any order. The order of the output is that of the input.
One and only one of -b, -c, or -f must be specified.
If no file is given, or if the file is -, cut cuts from standard input. The start of the file is defined as the current offset.