annotate scripts/view_log.sh @ 1620:bb0384fb5a56 draft

add separeta in word process
author Masa <e085726@ie.u-ryukyu.ac.jp>
date Sat, 18 May 2013 20:20:10 +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