4

次の3つの可能性のように、コマンドを送信した後にtelnetに期待して使用したいのですが、異なる結果が返される可能性があります

1 successful
2 normal
3 there are something wrong...blabla
  you can refer to ....blabla


expect{
   "successful" {}
   "normal" {} 
   #here, for the third possibility, I want to use something like "else", so what should I put here? thanks!
}
4

1 に答える 1