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:
Pete Riches
2022-11-09 03:31:49 +13:00
committed by GitHub
parent 7294aeffb5
commit 3fc7bd3d7d

View File

@@ -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: