1
0
Fork 0
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:
Waldir Pimenta 2016-05-02 13:02:22 +01:00
parent 49c7b1b342
commit d1f217b68f

View file

@ -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}}`