Brace expansion using ranges: Difference between revisions

→‎{{header|jq}}: right-most-first
(→‎{{header|jq}}: right-most-first)
 
Line 1,402:
characters, are allowed, even if exactly one of them is a digit.
 
When expanding an expression with more than one range, the orderingprogram
as given below produces an ordering
of the results will be based on expansion of the left-most range first.
A trivial change in two places is sufficient to produce the alternative ordering.
<syntaxhighlight lang="jq">
# Left-pad with 0s
2,442

edits