range [OPTIONS] START_INTEGER END_INTEGER [INCREMENT_INTEGER]
range is a simple utility for shell scripts that emits a list of integers starting with the first command line argument and ending with the last integer command line argument.
If the first argument is greater than the last then it counts down otherwise it counts up.
-e The ending integer.
-end The ending integer.
-h display help
-help display help
-i The non-zero integer increment value.
-increment The non-zero integer increment value.
-l display license
-license display license
-r Pick a range value from range
-random Pick a range value from range
-s The starting integer.
-start The starting integer.
-v display version
-version display version
range 1 5
Yields 1 2 3 4 5
range -- -2 6
Yields -2 -1 0 1 2 3 4 5 6
range -increment=2 2 10
Yields 2 4 6 8 10
range 10 1
Yields 10 9 8 7 6 5 4 3 2 1
range -r 0 10
Yields a random integer from 0 to 10