Search Results

Search: Posts Made By: anbu23
2,290
Posted By anbu23
$ awk ' NR == FNR && NR > 1 { arr[$2]=$3; next }...
$ awk ' NR == FNR && NR > 1 { arr[$2]=$3; next } FNR>1{ printf("%s",$0); if(arr[$2] == ""){ print " NULL"}else{print " "arr[$2]} } ' freq orig
chr1 879108 NULL
chr1 881918 0.007
chr1 896874 NULL
Showing results 1 to 1 of 1

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