Skip to content

Commit

Permalink
cut: fix broken examples (tldr-pages#12015)
Browse files Browse the repository at this point in the history
  • Loading branch information
gutjuri authored Jan 8, 2024
1 parent 0075b19 commit 481c58f
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 37 deletions.
10 changes: 5 additions & 5 deletions pages.de/common/cut.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
> Schneide Felder von `stdin` oder einer Datei aus.
> Weitere Informationen: <https://www.gnu.org/software/coreutils/cut>.
- Schneide bestimmte Zeichen oder einen Feldbereich jeder Zeile aus:
- Schneide bestimmte Zeichen oder einen Bereich von Feldern jeder Zeile aus:

`{{befehl}} | cut --{{characters|fields}}={{1|1,10|1-10|1-|-10}}`

- Schneide einen bestimmten Bereich jeder Zeile mit einem bestimmten Trennzeichen aus:
- Schneide einen bestimmten Bereich von Feldern jeder Zeile mit einem bestimmten Trennzeichen aus:

`{{befehl}} | cut --delimiter="{{,}}" --{{characters}}={{1}}`
`{{befehl}} | cut --delimiter="{{,}}" --fields={{1}}`

- Schneide einen bestimmten Bereich jeder Zeile einer bestimmten Datei aus:
- Schneide einen bestimmten Bereich von Zeichen jeder Zeile einer bestimmten Datei aus:

`cut --{{characters}}={{1}} {{pfad/zu/datei}}`
`cut --characters={{1}} {{pfad/zu/datei}}`
8 changes: 4 additions & 4 deletions pages.es/common/cut.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

`{{comando}} | cut --{{characters|field}}={{1|1,10|1-10|1-|-10}}`

- Imprime un rango de cada línea con un delimitador específico:
- Imprime un rango de campos de cada línea con un delimitador específico:

`{{comando}} | cut --delimiter="{{,}}" --{{campos}}={{1}}`
`{{comando}} | cut --delimiter="{{,}}" --fields={{1}}`

- Imprime un rango de cada línea de un archivo específico:
- Imprime un rango de caracteres de cada línea de un archivo específico:

`cut --{{caracteres}}={{1}} {{ruta/al/archivo}}`
`cut --characters={{1}} {{ruta/al/archivo}}`
8 changes: 4 additions & 4 deletions pages.es/osx/cut.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

`{{command}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}`

- Imprime un rango de cada línea con un delimitador específico:
- Imprime un rango de campos de cada línea con un delimitador específico:

`{{command}} | cut -d "{{,}}" -{{c}} {{1}}`
`{{command}} | cut -d "{{,}}" -f {{1}}`

- Imprime un rango de cada línea de un archivo específico:
- Imprime un rango de caracteres de cada línea de un archivo específico:

`cut -{{c}} {{1}} {{ruta/al/archivo}}`
`cut -c {{1}} {{ruta/al/archivo}}`
8 changes: 4 additions & 4 deletions pages.pt_BR/common/cut.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

`{{comando}} | cut --{{characters|fields}}={{1|1,10|1-10|1-|-10}}`

- Imprime um intervalo de cada linha com um delimitador específico:
- Imprime um intervalo de campos de cada linha com um delimitador específico:

`{{comando}} | cut --delimiter="{{,}}" --{{fields}}={{1}}`
`{{comando}} | cut --delimiter="{{,}}" --fields={{1}}`

- Imprime um intervalo de cada linha de um arquivo específico:
- Imprime um intervalo de caracteres de cada linha de um arquivo específico:

`cut --{{characters}}={{1}} {{caminho/para/arquivo}}`
`cut --characters={{1}} {{caminho/para/arquivo}}`
8 changes: 4 additions & 4 deletions pages.pt_BR/osx/cut.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

`{{comando}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}`

- Imprime um intervalo de cada linha com um delimitador específico:
- Imprime um intervalo de campos de cada linha com um delimitador específico:

`{{comando}} | cut -d "{{,}}" -{{c}} {{1}}`
`{{comando}} | cut -d "{{,}}" -f {{1}}`

- Imprime um intervalo de cada linha de um arquivo específico:
- Imprime um intervalo de caracteres de cada linha de um arquivo específico:

`cut -{{c}} {{1}} {{caminho/para/arquivo}}`
`cut -c {{1}} {{caminho/para/arquivo}}`
8 changes: 4 additions & 4 deletions pages.ru/common/cut.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

`{{команда}} | cut --{{characters|fields}}={{1|1,10|1-10|1-|-10}}`

- Вывести диапазон каждой строки с указанным разделителем:
- Вывести диапазон полей каждой строки с указанным разделителем:

`{{команда}} | cut --delimiter="{{,}}" --{{fields}}={{1}}`
`{{команда}} | cut --delimiter="{{,}}" --fields={{1}}`

- Вывести диапазон каждой строки указанного файла:
- Вывести диапазон символов каждой строки указанного файла:

`cut --{{characters}}={{1}} {{путь/к/файлу}}`
`cut --characters={{1}} {{путь/к/файлу}}`
8 changes: 4 additions & 4 deletions pages.ru/osx/cut.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

`{{команда}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}`

- Вывести диапазон каждой строки с указанным разделителем:
- Вывести диапазон полей каждой строки с указанным разделителем:

`{{команда}} | cut -d "{{,}}" -{{c}} {{диапазон}}`
`{{команда}} | cut -d "{{,}}" -f {{диапазон}}`

- Вывести диапазон каждой строки указанного файла:
- Вывести диапазон символов каждой строки указанного файла:

`cut -{{c}} {{1}} {{path/to/file}}`
`cut -c {{1}} {{path/to/file}}`
8 changes: 4 additions & 4 deletions pages/common/cut.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

`{{command}} | cut --{{characters|fields}}={{1|1,10|1-10|1-|-10}}`

- Print a range of each line with a specific delimiter:
- Print a field range of each line with a specific delimiter:

`{{command}} | cut --delimiter="{{,}}" --{{fields}}={{1}}`
`{{command}} | cut --delimiter="{{,}}" --fields={{1}}`

- Print a range of each line of the specific file:
- Print a character range of each line of the specific file:

`cut --{{characters}}={{1}} {{path/to/file}}`
`cut --characters={{1}} {{path/to/file}}`
8 changes: 4 additions & 4 deletions pages/osx/cut.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

`{{command}} | cut -{{c|f}} {{1|1,10|1-10|1-|-10}}`

- Print a range of each line with a specific delimiter:
- Print a field range of each line with a specific delimiter:

`{{command}} | cut -d "{{,}}" -{{c}} {{1}}`
`{{command}} | cut -d "{{,}}" -f {{1}}`

- Print a range of each line of a specific file:
- Print a character range of each line of a specific file:

`cut -{{c}} {{1}} {{path/to/file}}`
`cut -c {{1}} {{path/to/file}}`

0 comments on commit 481c58f

Please sign in to comment.