view scripts/view_log.sh @ 1431:9b0908cb7553 draft

change to exporting filetype
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Fri, 30 Mar 2012 05:51:29 +0900
parents
children
line wrap: on
line source

#!/bin/bash
if [ $# -ne 1 ]; then
    echo "usage: ./view_log.sh target"
    exit 1
fi
ruby ./log.rb $1 > /tmp/log.dot
dot -Tsvg /tmp/log.dot > /tmp/log.svg; open /tmp/log.svg