diff options
Diffstat (limited to 'shell/ash_test/ash-heredoc')
-rw-r--r-- | shell/ash_test/ash-heredoc/heredocB.right | 3 | ||||
-rwxr-xr-x | shell/ash_test/ash-heredoc/heredocB.tests | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/shell/ash_test/ash-heredoc/heredocB.right b/shell/ash_test/ash-heredoc/heredocB.right new file mode 100644 index 0000000..43ba0b4 --- /dev/null +++ b/shell/ash_test/ash-heredoc/heredocB.right @@ -0,0 +1,3 @@ +one - alpha +two - beta +three - gamma 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 |