Skip to content

Add Brace Expansions

Michael Aaron Murphy requested to merge mmstick:brace_expansion into master

This change adds support for brace expansions to support permutating elements. This also adds support for expanding variables within braces.

$ echo The pro{digal,grammer,cessed,totype,cedures,ficiently,ving,spective,jections}
The prodigal programmer processed prototype procedures proficiently proving prospective projections
$ echo The {barb,veget}arian eat{ers,ing} appl{esauce,ied} am{ple,ounts} of eff{ort,ectively}
The barbarian vegetarian eaters eating applesauce applied ample amounts of effort effectively
$ echo ion:${PWD}#
ion:/home/redox#

Merge request reports