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