mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 21:15:35 +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:
parent
7294aeffb5
commit
3fc7bd3d7d
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
- Print a range of each line with a specific delimiter:
|
- 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:
|
- Print a range of each line of the specific file:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue