Search Results

Search: Posts Made By: GTed
1,722
Posted By Scrutinizer
Hi, see if this works: awk -F'\t' ' NR==FNR...
Hi, see if this works:
awk -F'\t' '
NR==FNR {
if(!($1 in L))
L[$1]=$2
R[$1]=$3
next
}
{
print ($2>=L[$1] && $2<R[$1])?$4:"NA"
}
' file1 file2
1,722
Posted By RudiC
Yes. How about posting a decent, representative...
Yes. How about posting a decent, representative sample of your data including gaps? So proposals given could be tested against samples reflecting reality?
Showing results 1 to 2 of 2

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