The programs "p2f-exec" and "p2f-wait" allow to communicate easily with interactive commands from shell scripts. They are a minimal alternative to Expect that respects the Unix philosophy, that is, many features are delegated to dedicated external tools: time limits should be handled by "timeout", regular expressions by "grep", terminal settings by "stty", special characters by "bash" for instance, ...
License: GPLv3.