| 1 |
cut-about = Extract sections from each line of files. |
| 2 |
cut-usage = cut OPTION... [FILE]... |
| 3 |
cut-after-help = If no FILE is specified, reads from stdin. Use '-' as a FILE argument to include stdin. |
| 4 |
|
| 5 |
LIST is a comma-separated list of numbers or ranges: |
| 6 |
|
| 7 |
N only column N |
| 8 |
N- columns N through the end of the line |
| 9 |
N-M columns N through M |
| 10 |
-M columns 1 through M |
| 11 |
|
| 12 |
Examples: |
| 13 |
|
| 14 |
cut -f 2,5-7 file.txt extract fields 2, 5, 6, and 7 |
| 15 |
cut -f 3- file.txt extract field 3 to the end of the line |
| 16 |
cut --complement -f 4-6 file.txt extract all fields except 4, 5, and 6 |
| 17 |
cut -d',' -f1 file.csv extract first field from a CSV |
| 18 |
|
| 19 |
# Help messages |
| 20 |
cut-help-bytes = extract bytes listed in LIST |
| 21 |
cut-help-characters = extract characters listed in LIST |
| 22 |
cut-help-delimiter = use DELIM as field separator (default: Tab) |
| 23 |
cut-help-whitespace-delimited = use any whitespace (Space/Tab) as delimiter; ignore leading and trailing blanks with 'trimmed' |
| 24 |
cut-help-fields = extract fields listed in LIST |
| 25 |
cut-help-fields-merged = like -f, but merge adjacent delimiters; the delimiter defaults to whitespace and the output delimiter to a space |
| 26 |
cut-help-complement = invert selection: print all columns except the specified ones |
| 27 |
cut-help-only-delimited = suppress lines that do not contain the delimiter |
| 28 |
cut-help-zero-terminated = use NULL (\0) instead of newline as line terminator |
| 29 |
cut-help-output-delimiter = replace input delimiter with NEW_DELIM in output |
| 30 |
cut-help-no-partial = with -b, do not output partial multi-byte characters |
| 31 |
|
| 32 |
# Error messages |
| 33 |
cut-error-is-directory = Is a directory |
| 34 |
cut-error-write-error = write error |
| 35 |
cut-error-delimiter-and-whitespace-conflict = -d and -w are mutually exclusive |
| 36 |
cut-error-delimiter-must-be-single-character = the delimiter must be a single character |
| 37 |
cut-error-multiple-mode-args = only one list may be specified |
| 38 |
cut-error-missing-mode-arg = you must specify a list of bytes, characters, or fields |
| 39 |
cut-error-delimiter-only-with-fields = an input delimiter makes sense{ "\u000A\u0009" }only when operating on fields |
| 40 |
cut-error-only-delimited-only-with-fields = suppressing non-delimited lines makes sense{ "\u000A\u0009" }only when operating on fields |
| 41 |
cut-error-field-numbered-from-1 = fields are numbered from 1 |
| 42 |
cut-error-position-numbered-from-1 = byte/character positions are numbered from 1 |
| 43 |
cut-error-invalid-field-range = invalid field range |
| 44 |
cut-error-invalid-position-range = invalid byte or character range |
| 45 |
cut-error-invalid-decreasing-range = invalid decreasing range |
| 46 |
cut-error-invalid-range-no-endpoint = invalid range with no endpoint: { $range } |
| 47 |
cut-error-invalid-field-value = invalid field value { $value } |
| 48 |
cut-error-invalid-position-value = invalid byte/character position { $value } |
| 49 |
cut-error-field-number-too-large = field number { $value } is too large |
| 50 |
cut-error-position-too-large = byte/character offset { $value } is too large |
| 51 |
|
| 52 |
# Diagnostic labels: what the caret points at in a list of ranges |
| 53 |
cut-diag-label-zero-bound = counting starts at 1 |
| 54 |
cut-diag-help-list-syntax = a list is N, N-M, N- or -M, separated by commas, as in -f1,4-6,9- |