$ perl -le'print for glob "{a,b,c}{d,e,f}"' ad ae af bd be bf cd ce cf #### cp file{,.bk} #### cp file file.bk
## cp file{,.bk} ##
## cp file file.bk