Re: Interactive command running

2001-07-25 Thread John Fox
> Now, my problem is, I want to write a script to intercept this > command and supply answers for SOME of the questions, while for > other questions the user will be prompted for answer as before. I think you would be best served by "Expect.pm", as maintained (and likely written) by Roland Giersi

Interactive command running

2001-07-25 Thread Lakshman KNVSM
Hi: I started learning perl a month ago. So, excuse me, if this is a very basic question. My problem is something like this. There is a command, say foo, (which actually is a perl script), which is interactive, that is, it prints questions on the terminal and accepts answers from the user. For