view scripts/view_log.sh @ 1736:ade645630b86 draft

minor fix
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Fri, 01 Nov 2013 20:23:21 +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