1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 14:35:42 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: