-
Notifications
You must be signed in to change notification settings - Fork 0
Number Ranges
Derek Callaway edited this page Jun 15, 2018
·
13 revisions
The number ranges feature of strglob implements an ordered sequence of whole numbers. There are two ways to specify a numeric range. One is by surrounding the numbers with square brackets and using a dash as a delimiter. The other is by separating them with a "double dot" sequence (..) with an optional increment value afterwards. Refer to the examples below for simple demonstrations.
[1-4]
{1..4}
{1..4..1}
1
2
3
4