1 shopt -s expand_aliases
5 echo '((echo abc; echo def;); echo ghi)' > $TMPDIR/x28-$$
11 TMPFILE=$TMPDIR/x29-$$
13 echo "#! ${THIS_SH}" >$TMPFILE
14 cat >> $TMPFILE << \EOF
16 (echo -n "$1 "; echo subshell)
20 alias foo1='$TMPFILE one.1; source $TMPFILE two.1; source $TMPFILE three.1; $TMPFILE four.1'
21 alias foo2='$TMPFILE one.2;
22 source $TMPFILE two.2;
23 source $TMPFILE three.2;
33 # this is also treated similarly to an alias expansion internally
34 ((echo abc; echo def;); echo ghi)
36 if (((4+4) + (4 + 7))); then
40 (()) # make sure the null expression works OK