Search Results

Search: Posts Made By: u10
2,629
Posted By u10
Thanks, but not work.
Thanks, but not work.
2,629
Posted By u10
AWK: merge two files and replace some fields
Need some code tweak:

awk 'END {
for (i=1; i<=n; i++)
if (f2[_[i]])
print f2[_[i]]
}
NR == FNR {
f2[_[n = FNR] = $1] = $0
next
}
$1 in f2 {
delete f2[$1]
}1' FS=, OFS=, 2.csv...
Showing results 1 to 2 of 2

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