Do you mean you just need to stick 8 numbers (entered by the user) in the middle of a bunch of text (sourced from several files)?
If so, you don't need to worry about populating a temp file with it, just cat the first bunch of files, echo the numbers, then cat the rest.
I'd suggest using:
Code:
read numbers ; cat stuff; echo $numbers; cat morestuff