brace expansion: combining the comma and .. forms

Vincent Lefevre <[email protected]>
Newsgroups gmane.comp.shells.zsh.user
Message-ID <[email protected]>
With brace expansion, is there a way to combine the comma and .. forms?

For instance, I get

qaa% echo foo{1..3,5..7}
foo1..3 foo5..7

while I would want

foo1 foo2 foo3 foo5 foo6 foo7

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.