cut: use `--delimiter` with `--fields` (#9503)
The `--delimiter`option only applies when separating fields. I have changed the second example to use `--fields` instead of `--characters`, which threw an error.
This commit is contained in:
parent
7294aeffb5
commit
3fc7bd3d7d
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Print a range of each line with a specific delimiter:
|
||||
|
||||
`{{command}} | cut --delimiter="{{,}}" --{{characters}}={{1}}`
|
||||
`{{command}} | cut --delimiter="{{,}}" --{{fields}}={{1}}`
|
||||
|
||||
- Print a range of each line of the specific file:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue