fork download
  1. #!/usr/bin/bash
  2. filename=/dev/stdin
  3. echo Stage#1:
  4. unset IFS
  5. while read -r P1 P2 P3 PAll; do
  6. echo "P1 - $P1"
  7. echo "P2 - $P2"
  8. echo "P3 - $P3"
  9. echo "P4 - $P4"
  10. echo "PAll - $PAll"
  11. done
Success #stdin #stdout 0.01s 5284KB
stdin
This is more than one line
This is second line and more, and more, and more with special \' "
stdout
Stage#1:
P1 - This
P2 - is
P3 - more
P4 - 
PAll - than one line
P1 - This
P2 - is
P3 - second
P4 - 
PAll - line and more, and more, and more with special \' "