3
0

heredocB.tests 120 B

123456789101112
  1. while read line1; do
  2. read line2 <&3
  3. echo $line1 - $line2
  4. done <<EOF1 3<<EOF2
  5. one
  6. two
  7. three
  8. EOF1
  9. alpha
  10. beta
  11. gamma
  12. EOF2