Working around the BASH brace expansion rule

Brace expansion in BASH is a neat way to build a Cartesian product, like all the combinations of a set of first names and a set of last names. Unfortunately, you can’t do this with strings unless they’re in comma-separated lists. This post explains two alternatives.

Source: LXer – Working around the BASH brace expansion rule

Leave a Reply