annotate scripts/view_log.sh @ 1469:9088e6f2c2e0 draft

fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 15 Jul 2012 17:50:14 +0900
parents 9b0908cb7553
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1431
9b0908cb7553 change to exporting filetype
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #!/bin/bash
9b0908cb7553 change to exporting filetype
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 if [ $# -ne 1 ]; then
9b0908cb7553 change to exporting filetype
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 echo "usage: ./view_log.sh target"
9b0908cb7553 change to exporting filetype
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 exit 1
9b0908cb7553 change to exporting filetype
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 fi
9b0908cb7553 change to exporting filetype
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 ruby ./log.rb $1 > /tmp/log.dot
9b0908cb7553 change to exporting filetype
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 dot -Tsvg /tmp/log.dot > /tmp/log.svg; open /tmp/log.svg