Search Results

Search: Posts Made By: bertiko
1,293
Posted By bertiko
The first field of the fiel 1 es the first...
The first field of the fiel 1 es the first column(for example 00:0f:35:1b:0c:00)
and we need to merge with the first field of file 2 that is like 00:0F:35
1,293
Posted By bertiko
I have proved with some like this: 'NR==FNR...
I have proved with some like this:
'NR==FNR {h[$1] = $2; next} {print $1,$2,$3,h[$1]}' file2 file1 > file3

but it doesnt work

edit by bakunin: again, please use CODE-tags! Furthermore, please...
1,293
Posted By bertiko
Merge two files on awk/shell
Hi,
i have two files like these:
FILE 1
00:0f:35:1b:0c:00 1402691094.750049000 00:0f:35:1b:0c:00 1402691087.474893000
44:d3:ca:fd:a2:08 1402691091.865127000
30:e4:db:c1:df:de ...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy