Search Results

Search: Posts Made By: hustler
4,966
Posted By Scrutinizer
Try: awk ' NR==FNR { ...
Try:

awk '
NR==FNR { # When reading the first file (then NR is equal to FNR)
A[$1]=$0 # Store the first file...
4,966
Posted By RudiC
How about awk -F, ' FNR == 1 {FCNT++ ...
How about
awk -F, '
FNR == 1 {FCNT++
}
FNR > 1 {KEYS[$1]
for (i=2; i<=NF; i++) W[$1,FCNT,i] = $i
}
END {printf...
Showing results 1 to 2 of 2

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