I have a program that reads user input—moves, it's a boardgame—from the user. Like so:
$ game enter your move: # etcetera
The first N moves I need to repeat each time, so I put them in a text file, one line each. That works:
$ game < moves.txt
This works, but after these N moves, how do I return to input from the command line?
I realize this is probably a duplicate question, but I couldn't find it.