I have a script (from a vendor.. for masking passwords) that walks through a series of user inputs, and generates some output based on input. I would like to be able to wrap another script around it which feeds the input from a text file, and then captures the output for later use. Anyone have any examples of this?
UPDATE: I've done some digging, and it turns out the shell script is kicking off a java process which is what is requesting user input. xargs and <,>,| don't seem to work for this.