Range expansion: Difference between revisions

(→‎{{header|TXR}}: Fix botched output paste.)
Line 2,136:
your junk: cg@foo</pre>
 
Note how the junk in the last example does not contain the trailing comma. This is because the rangelist grammar production allows for an empty range, so syntax like "5," is valid: it's an entry followed by a comma and a rangerangelist, where rangethe rangelist is empty.
 
=={{header|UNIX Shell}}==
543

edits