Search Results

Search: Posts Made By: Yarinka
1,678
Posted By RudiC
Try this, based on Aia's proposal:awk ' FNR==NR...
Try this, based on Aia's proposal:awk '
FNR==NR &&
$5+0>0 {s[$1] = $5
next
}
$1 in s {TMPA = $1
TMPB = s[$1]
...
1,678
Posted By Aia
The initial filtering can be done as well at the...
The initial filtering can be done as well at the same time.

awk '
FNR==NR && $5+0>0 { # filter file1
s[$1] = $5; # keep id and value of field 5
next; ...
Showing results 1 to 2 of 2

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