I am using following command to remove duplicates from file.
awk -F"," '!x[$1]++' test.csv
How can I make it to ignore case of column 1?
I tried awk -F"," '{IGNORECASE = 1} !x[$1]++' test.csv
but it does not seem to work.
Using toupper:
awk -F"," '!x[toupper($1)]++' test.csv
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With