diff options
Diffstat (limited to 'tests/vredir1.sub')
-rw-r--r-- | tests/vredir1.sub | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/vredir1.sub b/tests/vredir1.sub new file mode 100644 index 0000000..403734c --- /dev/null +++ b/tests/vredir1.sub @@ -0,0 +1,17 @@ +bar() +{ +exec {v}<<EOF +line 1 +line 2 +line 3 +EOF +echo $v +} + +bar + +cat <&$v + +type bar + +exit 0 |