Hello, I am new to awk and I am having a hard time figuring out how do get this to work:
I want to process a csv file and write each column value out to a file, so i wrote this script:
awk'{
for(i=1;i<NF;i++){
ct[$1]+=1
}
for(val in ct){
print val
}
}' FS="," < mydata.csv
Now that...