#!/bin/csh

echo 'digraph foo {' > /tmp/foo.dot
echo 'node [ shape = box, color = black];' >> /tmp/foo.dot
cat | awk -F' ' '$3 == "{}" { print " "$1" -> "$2" ;"; }' | grep -v -E -f ~rwatson/netperf/prcc-dot/noise.dat >> /tmp/foo.dot
echo '}' >> /tmp/foo.dot
dot -Tps /tmp/foo.dot > /tmp/foo.ps

