annotate scripts/showTopo.sh @ 409:e501afa00369 dispose

change JRE 1.8
author tatsuki
date Sat, 05 Jul 2014 16:10:57 +0900
parents 094d8fa4945e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
185
094d8fa4945e add comment
e095732
parents:
diff changeset
1 #!/bin/bash
094d8fa4945e add comment
e095732
parents:
diff changeset
2 max=$1
094d8fa4945e add comment
e095732
parents:
diff changeset
3 child_num=`expr $max - 1`
094d8fa4945e add comment
e095732
parents:
diff changeset
4 ruby ./topology/treen.rb $max 2 > ./topology/tree.dot
094d8fa4945e add comment
e095732
parents:
diff changeset
5 dot -Tpng ./topology/tree.dot > ./topology/tree.png
094d8fa4945e add comment
e095732
parents:
diff changeset
6 open ./topology/tree.png
094d8fa4945e add comment
e095732
parents:
diff changeset
7