Masato Taruishi
taru****@users*****
2004年 10月 19日 (火) 18:35:23 JST
=================================================================== RCS file: demo/uml/map,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- demo/uml/map 2004/10/19 09:14:04 1.13 +++ demo/uml/map 2004/10/19 09:35:23 1.14 @@ -91,6 +91,8 @@ n=`echo \( $id - 1 \) \* $WIDTH | bc` +suggests=$(echo $suggests | tr ' ' '\n' | sort | uniq | tr '\n' ' ') + echo "net=$NETPREFIX.$n/$NETMASK" echo "bcast=$NETPREFIX.`expr $n + $WIDTH - 1`" echo "host=$NETPREFIX.`expr $n + 1`"