I'm kinda new in bash, the thing is I need to run several set of data in a program, I make a bash script that allow me to do it automatically... the problem is when the program start it needs some inputs and I don't know how to give it inside the bash? I execute the program:
$./bin/mg5_aMC
The program opens and I need to pass some input to run (mg5> is the enviroment of the program):
mg5>launch file.lhe
the program runs, and ask for something:
mg5> 1
and then again, ask for something and i need to press enter..
mg5> (enter)
PD.: I edited the question because I suppose didn't express myself very well..