1 2 3 4 5 6
#!/bin/sh ( echo "digraph {" grep ' ' | sed 's/\(.*\) \(.*\)/\t\2->\1;/' echo "}" ) | dot -Tpng | feh -