Ê£¿ô¤Î¥µ¡¼¥Ð¤ò»ØÄê¤¹¤ëÊýË¡

¡Ø¤«¤ó¤Ê¡Ù¤Ç¤Ï¥µ¡¼¥ÐÌ¾¤ò»ØÄê¤Ç¤­¤Þ¤¹¤¬¡¢¤³¤³¤Ç¥³¥ó¥Þ(,)¤Ç¶èÀÚ¤Ã¤ÆÊ£¿ô¤Î¥µ¡¼¥ÐÌ¾¤ò»ØÄê¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Îã¤¨¤Ð¡¢

  ozuma,ozuma:22,quincy,monja

¤Î¤è¤¦¤Ë»ØÄê¤Ç¤­¤Þ¤¹¡£

¤½¤¦¤¹¤ë¤È¡¢¤Þ¤º ozuma ¤È¸À¤¦¥Û¥¹¥È¤Î cannaserver ¤ËÀÜÂ³¤Ë¹Ô¤­¡¢¤½¤³¤Ç cannaserver ¤¬²ÔÆ¯¤·¤Æ¤¤¤Ê¤¤¤È ozuma:22 ¤ËÀÜÂ³¤Ë¹Ô¤­¤Þ¤¹¡£

ozuma:22 ¤È¸À¤¦¤Î¤Ï¥Û¥¹¥È ozuma ¤Ç cannaserver -p 22 ¤Î¤è¤¦¤Ë¥Ý¡¼¥È¥ª¥Õ¥»¥Ã¥È¤ò»ØÄê¤·¤ÆÎ©¤Á¾å¤²¤¿¥µ¡¼¥Ð¤Ç¤¹¡£

¤µ¤Æ¡¢¤½¤¦¤¹¤ë¤ÈÌäÂê¤Ë¤Ê¤ë¤Î¤¬¼­½ñ¤Î°ìÃ×À­¤Ç¤¹¡£°Ê²¼¤Î¤è¤¦¤Ë¤¹¤ì¤Ð³Æ¥µ¡¼¥Ð¤ËÂ¸ºß¤¹¤ë¼­½ñ¤ò¥Þ¡¼¥¸¤Ç¤­¤Þ¤¹¡£°Ê²¼¤ÎÎã¤Ç¤Ïkon ¤È¸À¤¦¼­½ñ¤Î¾ì¹ç¤Ç¼¨¤·¤Þ¤¹¡£

 cp /dev/null kon.t
  for i in `echo $CANNAHOST | sed 's/,/ /g'`    ³Æ¥Û¥¹¥È¤Î
  do
   catdic -cs $i kon >> kon.t                   ¼­½ñ¤ò½¸¤á¤Æ
  done

  splitword kon.t | sort | uniq > kon.tt        sort | uniq ¤·¤Æ
  mv kon.tt kon.t

  for i in `echo $CANNAHOST | sed 's/,/ /g'`    ³Æ¥Û¥¹¥È¤Ë
  do
   addwords -cs $i kon < kon.t                  Ìá¤¹¡£
  done
  rm kon.t