Made a file.csv. There are 3 lines.
"ip","count","filename"
"1.1.1.1","57","somefilename1"
"2.2.2.2","30","2somefilename-2"
Tryed to awk for $3 so it should just list the 3rd column.
I tried a couple of methods:
awk '{print $3}' filename.csv
Output is blank, I was expecting just the 3rd column
Tried:
awk '{print $1}' filename.csv
Shows the full document instead of just the 1st column, nothing got filtered.
I searched stackoverflow and tried a few other methods. But for some reason I either get the full row or nothing.
What am I missing sounds simple enough