Here are some oneliners which can help you get started with processing data simply by using commandline
awk -F, '{print $1}' file.csv
awk -F, '{print $1 "," $3}' file.csv
grep "string" file.csv
sort -t, -k2 file.csv
tail -n +2 file.csv
awk -F, '!seen[$1]++' file.csv
awk -F, '{sum+=$3} END {print sum}' file.csv
jq -R -r 'split(",") | {name:.[0],age:.[1]}' file.csv
awk -F, '{printf "INSERT INTO table VALUES (\"%s\", \"%s\", \"%s\");\n", $1, $2, $3}' file.csv
Lastly, these are just a few examples of the many things you can do with these oneliners to process CSV data. With the right combination of commands, you can quickly and easily manipulate CSV files to suit your needs.
I hope you enjoyed reading this post and got a chance to learn something new. If you have any oneliner when it comes to processing data especially CSV files feel free to comment below.
I write occasionally feel free to follow me on twitter