summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-heredoc/heredocB.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-heredoc/heredocB.tests')
-rwxr-xr-xshell/ash_test/ash-heredoc/heredocB.tests12
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/ash_test/ash-heredoc/heredocB.tests b/shell/ash_test/ash-heredoc/heredocB.tests
new file mode 100755
index 0000000..45ea468
--- /dev/null
+++ b/shell/ash_test/ash-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