Expect-like tool for pure shell
