3
0

export_exp.tests.disabled 425 B

12345678910111213141516171819202122
  1. # This test shows a very special handling of export and local
  2. # builtins by bash.
  3. v="a=aa0 b=bb0"
  4. # only 1st arg should be expanded in multiple words
  5. export $v c=$v
  6. echo $a $b
  7. echo $c
  8. # only 1st arg should be expanded in multiple words
  9. export `echo a=aa1 b=bb1` c=`echo a=aa1 b=bb1`
  10. echo $a $b
  11. echo $c
  12. >zz=zz
  13. >zzz=zzz
  14. # only 1st arg should be globbed
  15. export zzz* zz=*
  16. env | grep ^zz | sort
  17. rm -rf zz=zz zzz=zzz
  18. echo Done