~ubuntu-branches/ubuntu/trusty/bash/trusty-security

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