in reply to Re^2: glob: where are the full paths?
in thread glob: where are the full paths?
The metanotation a{b,c,d}e is a shorthand for abe ace ade . Left to right order is preserved, with results of matches being sorted separately at a low level to preserve this order. As a special case {, }, and {} are passed undisturbed.
$ perl -le"print for glob shift" "abe ace ade" abe ace ade $ perl -le"print for glob shift" "see also sea shore " see also sea shore $
|
|---|