aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-heredoc/heredocB.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-heredoc/heredocB.tests')
-rwxr-xr-xshell/hush_test/hush-heredoc/heredocB.tests12
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/hush_test/hush-heredoc/heredocB.tests b/shell/hush_test/hush-heredoc/heredocB.tests
new file mode 100755
index 000000000..45ea4687f
--- /dev/null
+++ b/shell/hush_test/hush-heredoc/heredocB.tests
@@ -0,0 +1,12 @@
+while read line1; do
+ read line2 <&3
+ echo $line1 - $line2
+done <<EOF1 3<<EOF2
+one
+two
+three
+EOF1
+alpha
+beta
+gamma
+EOF2