summaryrefslogtreecommitdiffstats
path: root/tests/new-exp1.sub
blob: 2b621fcaa885aa7893ca8bc761eaf58ceac9f076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FN=${TMPDIR}/bashtest-$$
expect()
{
        echo expect "$@"
}

expect this is a test of proc subst
cat <(echo this is a test of proc subst)
echo this is test 2 > $FN
expect this is test 2
cat <(cat $FN)
rm -f $FN

foo=
expect a
cat ${foo:-<(echo a)}