summaryrefslogtreecommitdiffstats
path: root/tests/vredir1.sub
blob: 403734c8e0a83aa2d1b549b3af3da6b1edc1dd08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
bar()
{
exec {v}<<EOF
line 1
line 2
line 3
EOF
echo $v
}

bar

cat <&$v

type bar

exit 0