cut: fix broken examples (#12015)

This commit is contained in:
Juri Dispan
2024-01-08 20:04:20 +01:00
committed by GitHub
parent 0075b1987d
commit 481c58fa75
9 changed files with 37 additions and 37 deletions

View File

@@ -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}}`