]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/braces.tests
Imported from ../bash-3.1.tar.gz.
[thirdparty/bash.git] / tests / braces.tests
index b9ae1806a44d462431d07addeaa234eeec64aea4..3f57829f060b9558581d7fa2557e2c3fcfe512bb 100644 (file)
@@ -23,6 +23,19 @@ echo foo {1,2} bar
 echo `zecho foo {1,2} bar`
 echo $(zecho foo {1,2} bar)
 
+var=baz
+varx=vx
+vary=vy
+
+echo foo{bar,${var}.}
+echo foo{bar,${var}}
+
+echo "${var}"{x,y}
+echo $var{x,y}
+echo ${var}{x,y}
+
+unset var varx vary
+
 # new sequence brace operators
 echo {1..10}