LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   a script run through a shell program... (https://www.linuxquestions.org/questions/linux-newbie-8/a-script-run-through-a-shell-program-363585/)

okeyla 09-15-2005 08:42 AM

a script run through a shell program...
 
How can i run a script of program without doing step by step
of typing many words?

Take linphonec as an example ,
it's a console mode voip program,
we could ONLY order command after entering its shell.
i.e.,
linux prompt> ./linphonec
linphonec> c sip:john@1.2.3.4

May i just write a bash script doing all of it?

===
someone recommand to use "mkfifo (pipe)",
but how? ( I tried but failed... )
Who could give me an example???

Thanks a lot!

theYinYeti 09-15-2005 10:06 AM

I think "expect" was created for exactly this kind of situation.

Yves.


All times are GMT -5. The time now is 04:53 AM.