3 ms·
The bsd derived glob has other functionality that I assume isn't simple or fast: perl -MFile::Glob=bsd_glob -e 'print bsd_glob("{{a,b,c}{1,2,3}{{yuck,Yuck},{
by tyingq 10y ago
The bsd derived glob has other functionality that I assume isn't simple or fast:
perl -MFile::Glob=bsd_glob -e 'print bsd_glob("{{a,b,c}{1,2,3}{{yuck,Yuck},{urgh,URGH}}}\n")'
Produces 36 lines representing all the iterations. Nest a bit deeper and it gets unwieldy.