Second version of the reduction.
[match/match.git] / program / show-graph
1 #!/bin/bash
2 set -e
3 echo "Paste the escaped graphviz string from ghci."
4 IFS='' read -r egvinput
5 eval "echo \$'$egvinput'" | dot -Tps -o thegraph.ps
6 go thegraph.ps