-
Notifications
You must be signed in to change notification settings - Fork 0
Reverse Ranges
Derek Callaway edited this page Jun 15, 2018
·
5 revisions
The reverse ranges feature of strglob implements an ordered sequence of (possibly negative) integers or letters. Specifying a reverse range is almost identical to specifying a normal range except that the minimum and maximum values are switched, i.e. the maximum value is to the left of the dash delimiter and the minimum value is to the right of it. Refer to the examples below for simple demonstrations.
[d-a]
{d..a}
{d..a..1}
d
c
b
a