Quote Originally Posted by lehe View Post
Thanks!
What I actually want to do is to read from a bunch of files test_error.dat each of which cantains single number, and write them into a single file "${TMP}" as
1 num1
5 num5
10 num10
15 num15
...
If that's the case try this script:
Code:
awk '{print $1, "num"$1}' test_error.dat > outputfile