view scripts/view_log.sh @ 1808:c25aa7edd1ba draft

fix conditional branch in fileread
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Wed, 11 Dec 2013 17:42:09 +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