Test input:
file1 con4tains l5ines 6with 7words 8separated 9by spaces.
Write to file2 all the words that contain numbers, for example, a1 or abc3d. Separate the words with spaces.
output to 2nd file:
file1 con4tains l5ines 6with 7words 8separated 9by file2 a1 abc3d.
am I missing something here?