| OLD | NEW |
| (Empty) | |
| 1 #! /bin/bash |
| 2 |
| 3 # This script expects the following arguments |
| 4 # $1: Path to dart executable |
| 5 # $2: Path to dart echoing script |
| 6 # $3: Argument to dart echoing script (0, 1 or 2) |
| 7 # $4: File for output from piping stdout and stderr |
| 8 # $5: File prefix for output from redirecting stdout and stderr to a file. |
| 9 |
| 10 # Test piping and stdio file redirection. |
| 11 echo "Hello" | $1 $2 $3 2>&1 | cat - > $4 |
| 12 $1 $2 $3 < $4 > $5.stdout 2> $5.stderr |
| 13 $1 $2 $3 < $4 >> $5.stdout 2>> $5.stderr |
| OLD | NEW |