Brace expressions can be nested. Thus, for example, specifying the pattern "{foo/{,cat,dog},bar}" would return the same results as four separate glob() calls using the strings: "foo/", "foo/cat", "foo/dog", and "bar".
Brace expressions can be nested. Thus, for example, specifying the pattern "{foo/{,cat,dog},bar}" would return the same results as four separate glob() calls using the strings: "foo/", "foo/cat", "foo/dog", and "bar".