expect (http://expect.sourceforge.net) is your friend or you can use Expect if you stick to perl. If you use expect try out autoexpect command.
In reply to Re: Automating GDB using perl script
by pme
in thread Automating GDB using perl script
by perl_sck_58
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |