I want to use brace expansion to generate the following argument sequence: ./some_command -c root.foo -c root.bar -c root.baz. Brace expansion at first glance looks as a perfect tool: use -c root. as a preamble and {foo,bar,baz} inside braces. However, preamble cannot contain field separators:
./some_command -c root.{foo,bar,baz}expands to-c root.foo root.bar root.baz(obviously)./some_command -c\ root.{foo,bar,baz}expands to-c\ root.foo -c\ root.bar -c\ root.baz(obviously again). Here I get three arguments instead of six desired.
Is it possible to make a preamble with an argument separator?