mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 23:15:24 +02:00
cut: use a different separator characters
This commit is contained in:
parent
49c7b1b342
commit
d1f217b68f
1 changed files with 5 additions and 5 deletions
|
@ -14,14 +14,14 @@
|
|||
|
||||
`cut -c{{3-}}`
|
||||
|
||||
- Cut out the fifth field, split on the colon character of each line:
|
||||
- Cut out the fifth field, split on the colon characters of each line:
|
||||
|
||||
`cut -d'{{:}}' -f{{5}}`
|
||||
|
||||
- Cut out the fields five and 10, split on the colon character of each line:
|
||||
- Cut out the fields five and 10, split on the semicolon characters of each line:
|
||||
|
||||
`cut -d'{{:}}' -f{{5,10}}`
|
||||
`cut -d'{{;}}' -f{{5,10}}`
|
||||
|
||||
- Cut out the fields five through 10, split on the colon character of each line:
|
||||
- Cut out the fields five through 10, split on the space characters of each line:
|
||||
|
||||
`cut -d'{{:}}' -f{{5-10}}`
|
||||
`cut -d'{{ }}' -f{{5-10}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue