Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I would like to edit the script given below, to combine the second collumn of FILE1, FILE2 FILE3 ...FILEN and produce an output in FILE
FILE1:
1 3
2 6
3 7
4 8
FILE2
11 33
21 65
13 73
41 68FILE3:
31 31
92 61
83 17
54 18BELOW is the script I found in previous threads, but i couldn't edit because i'm a complete beginner...
NR==FNR{
a[FNR]=$2
c=FNR
next}
{ for(i=1;i<=c;i++)
{ print a[i],$3 }}
Thank you in advance..

![]() |
How to remove spaces in f...
|
Comparing two huge files
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |