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:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user