separate examples to make explanations easier to digest visually

This commit is contained in:
Collin Reilly Clark 2019-09-13 22:11:45 -04:00 committed by Ryan Geary
parent 2f590f61c9
commit d226c750ef

View file

@ -50,13 +50,18 @@ ARGS:
```bash
choose 5 # print the 5th item from a line (zero indexed)
choose -f ':' 0 3 5 # print the 0th, 3rd, and 5th item from a line, where
# items are separated by ':' instead of whitespace
choose 2:5 # print everything from the 2nd to 5th item on the line,
# exclusive of the 5th
choose -n 2:5 # print everything from the 2nd to 5th item on the line,
# inclusive of the 5th
choose :3 # print the beginning of the line to the 3rd item,
# exclusive
choose 3: # print the third item to the end of the line
```