blob: 2b621fcaa885aa7893ca8bc761eaf58ceac9f076 [file] [log] [blame]
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)}