title: Best way to test command line tools?
body: <p>We have a large collection of command-line utilities that we write ourselves and use frequently. At the moment, testing them is very cumbersome and consequently, we don't do as much testing as we aught to.</p>
  <p>I am wondering if anyone can suggest good techniques or tools for doing a good job of this kind of thing.</p>
  <p>This is UNIX.</p>