Mercurial > repos > icfp2012
comparison simulate @ 67:ff8d7b4499f5 default tip
Submission prep
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 16 Jul 2012 04:48:50 -0700 |
parents | d21c31c6b5ef |
children |
comparison
equal
deleted
inserted
replaced
66:cffcf36f1610 | 67:ff8d7b4499f5 |
---|---|
5 /bin/kill -SIGINT $!; | 5 /bin/kill -SIGINT $!; |
6 } | 6 } |
7 | 7 |
8 mkfifo .simpipe | 8 mkfifo .simpipe |
9 if [ $# -gt 1 ]; then | 9 if [ $# -gt 1 ]; then |
10 bin/sim $1 < .simpipe | bin/lifter > .simpipe & killafter $2 | 10 bin/sim $1 < .simpipe | ./lifter > .simpipe & killafter $2 |
11 else | 11 else |
12 bin/sim $1 < .simpipe | bin/lifter > .simpipe | 12 bin/sim $1 < .simpipe | ./lifter > .simpipe |
13 fi | 13 fi |
14 rm .simpipe | 14 rm .simpipe |
15 | 15 |