mirror of
https://github.com/theryangeary/choose
synced 2024-11-10 05:24:13 +00:00
parent
dfbeb102bb
commit
63b9eea62c
1 changed files with 3 additions and 1 deletions
|
@ -83,7 +83,9 @@ choose 2:5 # print everything from the 2nd to 5th item on the line,
|
|||
choose -x 2:5 # print everything from the 2nd to 5th item on the line,
|
||||
# exclusive of the 5th
|
||||
|
||||
choose :3 # print the beginning of the line to the 3rd item,
|
||||
choose :3 # print the beginning of the line to the 3rd item
|
||||
|
||||
choose -x :3 # print the beginning of the line to the 3rd item,
|
||||
# exclusive
|
||||
|
||||
choose 3: # print the third item to the end of the line
|
||||
|
|
Loading…
Reference in a new issue