Debugging Expect

192
More than any other tool for systems administration I know, Expect is misunderstood. By that I mean that Expect is widely used — roughly as much as such utilities as awk or Emacs, from my observations — but only a tiny percentage of the people who rely on it and even write scripts for it know the essentials of how to solve problems with Expect. Many simply have wrong ideas about what Expect is. This comes out dramatically when things aren’t working right. Let me show you how easy it is to debug Expect work.

Link: Unix Review