mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-23 05:47:59 +02:00
17 lines
251 B
Plaintext
17 lines
251 B
Plaintext
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)}
|