view scripts/view_log.sh @ 1767:1a68c05eeadf draft

minor fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 23 Nov 2013 01:28:59 +0900
parents 9b0908cb7553
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