HELP: Need to send commands to Program

Hi,

I am an absolute beginner in Unix and I need to send a commands to a program

I have created a script that will let me login to the program, however, i cannot get the script to send commands to this program.

When the cript logs into the program, the display/ prompt is as follows:

1>
2>
3>

Please can someone help

Use a pipe:

printf "%s\n" cmd1 cmd2 cmd3 \
   "cmd with args" | your_command