cut: use a different separator characters

waldyrious/alt-syntax
Waldir Pimenta 2016-05-02 13:02:22 +01:00
parent 49c7b1b342
commit d1f217b68f
1 changed files with 5 additions and 5 deletions

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