I have two files. The first is just a single number. This number is calculated and changes every time. The second file has a bunch of columns, and I do not know the number of rows (which can change). For example, I have something like this:
File 1:
12
File 2:
1 2 3
4 5 6
7 8 9
I want
1 2 3 12
4 5 6 12
7 8 9 12
My thoughts are that you could do a while not EOF
then cat File 1
and File 2
. How can I do so?